nDspec: A new Python library for modelling multi-dimensional datasets in X-ray astronomy
nDspec:X 射线天文学中多维数据集建模的新 Python 库
Context. The current fleet of X-ray telescopes produces a wealth of multi-dimensional data, allowing us to study sources in time, photon energy, and polarisation. At the same time, it has become increasingly clear that progress in our physical understanding will only come from studying these sources in multiple dimensions simultaneously. Aims. Enabling multi-dimensional studies of X-ray sources requires new theoretical models predicting these datasets, new methods to analyse them, and, crucially, a software framework to combine data, models, and methods efficiently. However, the current ecosystem of software packages developed for X-ray data analysis does not provide the flexibility for advanced modelling of multi-dimensional datasets. Methods. In this paper, we introduce NDSPEC, a new python-based library designed to allow users to seamlessly model one- and multi-dimensional datasets common to X-ray astronomy. Unlike most other libraries, it is designed as a flexible, modular, and extensible framework capable of accommodating multi-dimensional data and able to connect to a range of different inference tools and algorithms. Results. Here we focus on modelling timing and spectral-timing data as a function of both Fourier frequency and energy, in addition to limited support for time-averaged spectra. We discuss design philosophy and current features, and showcase an example use case by characterising a NICER observation of a black hole X-ray binary. We also highlight plans for extensions to other dimensions and new features, such as the inclusion of polarimetry and the improved statistical methods for Bayesian inference.
展开 ▾该库填补了当前 X 射线数据分析软件在多维建模灵活性上的空白,采用模块化、可扩展设计,可连接多种推断工具;当前已支持傅里叶频率与能量维度的时序和谱时序建模。
随着 X 射线望远镜在时间、能量和偏振等维度上产生越来越多的数据,仅依赖一维能谱或时域分析已难以充分提取物理信息,而现有软件生态普遍缺乏灵活的多维建模框架。NDSPEC 延续了从单一能谱或光变分析向谱时序等多维联合分析发展的趋势,以模块化架构降低多维数据集建模门槛,并已通过 NICER 黑洞 X 射线双星案例得到验证。未来若按计划扩展到偏振维度并改进贝叶斯推断统计方法,该框架有望成为连接不同推断工具和天文台数据产品的通用多维权分析平台。
刊出 2026-08-25 · 收录 2026-08-31