Cosmologix: Fast, accurate and differentiable distances in the universe with JAX
Journal of Open Source Software · 01.06.2026 · 11 (122) · 9633
DOI: 10.21105/joss.09633 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Open Source Software, erschienen am 01.06.2026. Verfasst von Marc Betoule und 6 weiteren Autor:innen. Die Arbeit nennt 12 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
Type Ia supernovae serve as standardizable candles to measure luminosity distances in the Universe. Cosmologix accelerates and simplifies cosmological parameter inference from large datasets by providing fully differentiable calculations of the distance-redshift relation as a function of cosmological parameters. This is achieved through the use of JAX, a Python library providing automatic differentiation and compilation for CPU and hardware accelerators. Cosmologix incorporates the density evolution of all relevant species, including neutrinos. It also provides common fitting formulae for the acoustic scale so that the resulting code can be used for fast cosmological inference from supernovae in combination with baryon acoustic oscillation or cosmic microwave background distance measurements. We checked the accuracy of our computation against CAMB , CCL and astropy.cosmology . We demonstrated that our implementation is approximately ten times faster than existing cosmological distance computation libraries, computing distances for 1000 redshifts in approximately 500 microseconds on a standard laptop CPU, while maintaining an accuracy of 10 −4 mag in the distance modulus over the redshift range 0.01 < 𝑧 < 1000 .
Zitieren
APA
Betoule, M., Neveu, J., Kuhn, D., Jeune, M. L., Bernard, M., Regnault, N., & Bongard, S. (2026). Cosmologix: Fast, accurate and differentiable distances in the universe with JAX. Journal of Open Source Software, 11(122), 9633. https://doi.org/10.21105/joss.09633
Vancouver
Betoule M, Neveu J, Kuhn D, Jeune ML, Bernard M, Regnault N, et al. Cosmologix: Fast, accurate and differentiable distances in the universe with JAX. Journal of Open Source Software. 2026;11(122):9633. doi:10.21105/joss.09633
BibTeX
@article{Betoule2026,
author = {Betoule, Marc and Neveu, Jérémy and Kuhn, Dylan and Jeune, Maude Le and Bernard, Mathieu and Regnault, Nicolas and Bongard, Sébastien},
title = {Cosmologix: Fast, accurate and differentiable distances in the universe with JAX},
journal = {Journal of Open Source Software},
year = {2026},
volume = {11},
number = {122},
pages = {9633},
doi = {10.21105/joss.09633}
}
EUVIMED