Scipp:使用C++和Python的标记多维数组进行科学数据处理
Scipp: Scientific data handling with labeled multi-dimensional arrays for C++ and Python
摘要:
Scipp受到Python库xarray的极大启发。它通过添加命名维度和关联坐标来丰富原始NumPy式多维数据数组。多个数组组合成数据集。在此之上,scipp引入了(i)物理单位的隐式处理,(ii)不确定性的隐式传播,(iii)对直方图的支持,即,bin边缘坐标轴,其超过数据的维度范围一,以及(iv)对事件数据的支持。结合这些特征,实现了更自然和更简洁的用户体验。命名尺寸、坐标和单位的组合有助于大幅降低编程错误的风险。scipp的核心是用C++编写的,为基于Python的解决方案所不允许的性能改进提供了机会。在C++核心之上,scipp的Python组件提供了绘图和内容表示的功能,例如,用于笔记本电脑。虽然scipp的概念本身并不新颖,但我们不知道有任何项目将所有这些方面结合在一个连贯的软件包中。
英文摘要:
Scipp is heavily inspired by the Python library xarray. It enriches raw NumPy-like multi-dimensional arrays of data by adding named dimensions and associated coordinates. Multiple arrays are combined into datasets. On top of this, scipp introduces (i) implicit handling of physical units, (ii) implicit propagation of uncertainties, (iii) support for histograms, i.e., bin-edge coordinate axes, which exceed the data's dimension extent by one, and (iv) support for event data. In conjunction these features enable a more natural and more concise user experience. The combination of named dimensions, coordinates, and units helps to drastically reduce the risk for programming errors. The core of scipp is written in C++ to open opportunities for performance improvements that a Python-based solution would not allow for. On top of the C++ core, scipp's Python components provide functionality for plotting and content representations, e.g., for use in Jupyter Notebooks. While none of scipp's concepts in isolation is novel per-se, we are not aware of any project combining all of these aspects in a single coherent software package.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。