Treffer: jaxspec: A fast and robust Python library for X-ray spectral fitting

Title:
jaxspec: A fast and robust Python library for X-ray spectral fitting
Contributors:
Institut de recherche en astrophysique et planétologie (IRAP), Université Toulouse III - Paul Sabatier (UT3), Communauté d'universités et établissements de Toulouse (Comue de Toulouse)-Communauté d'universités et établissements de Toulouse (Comue de Toulouse)-Institut national des sciences de l'Univers (INSU - CNRS)-Centre National de la Recherche Scientifique (CNRS), European Space Astronomy Centre (ESAC), Agence Spatiale Européenne = European Space Agency (ESA)
Source:
Astronomy & Astrophysics - A&A. 690:A317-A317
Publisher Information:
CCSD; EDP Sciences, 2024.
Publication Year:
2024
Collection:
collection:INSU
collection:UNIV-TLSE3
collection:CNRS
collection:OMP
collection:OMP-IRAP
collection:UNIV-UT3
collection:UT3-INP
collection:UT3-TOULOUSEINP
Original Identifier:
HAL: hal-04744547
Document Type:
Zeitschrift article<br />Journal articles
Language:
English
ISSN:
0004-6361
1432-0746
Relation:
info:eu-repo/semantics/altIdentifier/doi/10.1051/0004-6361/202451736
DOI:
10.1051/0004-6361/202451736
Rights:
info:eu-repo/semantics/OpenAccess
Accession Number:
edshal.hal.04744547v1
Database:
HAL

Weitere Informationen

Context. Inferring spectral parameters from X-ray data is one of the cornerstones of high-energy astrophysics, and is achieved using software stacks that have been developed over the last 20 years and more. However, as models get more complex and spectra are obtained with higher resolutions, these established software solutions become more feature-heavy, difficult to maintain and less efficient.Aims. We present jaxspec, a Python package for performing this task quickly and robustly in a fully Bayesian framework. Based on the JAX ecosystem, jaxspec allows the generation of differentiable likelihood functions compilable on core or graphical process units (GPUs), enabling the use of robust algorithms for Bayesian inference.Methods. We demonstrate the effectiveness of jaxspec samplers, in particular the no U-turn sampler, using a composite model and comparing what we obtain with the existing frameworks. We also demonstrate its ability to process high-resolution spectroscopy data using original methods by reproducing the results of the Hitomi collaboration on the Perseus cluster, while solving the inference problem using variational inference on a GPU.Results. We obtain identical results when compared to other software and approaches, meaning that jaxspec provides reliable results while being ~10 times faster than existing alternatives. In addition, we show that variational inference can produce convincing results even on high-resolution data in less than 10 minutes on a GPU.Conclusions. With this package, we aim to pursue the goal of opening up X-ray spectroscopy to the existing ecosystem of machine learning and Bayesian inference, enabling researchers to apply new methods to solve increasingly complex problems in the best possible way. Our long-term ambition is the scientific exploitation of the data from the newAthena X-ray Integral Field Unit (X-IFU).