CHIMERA (Combined Hierarchical Inference Model for Electromagnetic and gRavitational-wave Analysis) is a flexible Python code to analyze standard sirens with galaxy catalogs, allowing for a joint fitting of the cosmological and astrophysical population parameters within a Hierarchical Bayesian Inference framework.
The code is designed to be accurate for different scenarios, encompassing bright, dark, and spectral sirens methods, and computationally efficient in view of next-generation GW observatories and galaxy surveys. It uses the LAX-backend implementation and Just In Time (JIT) computation capabilities of JAX.
The code can be quikly installed from Pypi:
pip install chimera-gw
For more flexibility, clone the source repository into your working folder and install it locally:
git clone https://github.com/CosmoStatGW/CHIMERA
cd CHIMERA/
pip install -e .
To test the installation, run the following command:
python -c "import CHIMERA; print(CHIMERA.__version__)"
You can also run CHIMERA on GPU, but you have to install JAX with GPU support as explained in the JAX installation guide.
The full documentation is provided at chimera-gw.readthedocs.io
If you find this code useful in your research, please cite the following paper (ADS, arXiv, INSPIRE):
@ARTICLE{2024ApJ...964..191B,
author = {{Borghi}, Nicola and {Mancarella}, Michele and {Moresco}, Michele and et al.},
title = "{Cosmology and Astrophysics with Standard Sirens and Galaxy Catalogs in View of Future Gravitational Wave Observations}",
journal = {\apj},
keywords = {Observational cosmology, Gravitational waves, Cosmological parameters, 1146, 678, 339, Astrophysics - Cosmology and Nongalactic Astrophysics, Astrophysics - Astrophysics of Galaxies, General Relativity and Quantum Cosmology},
year = 2024,
month = apr,
volume = {964},
number = {2},
eid = {191},
pages = {191},
doi = {10.3847/1538-4357/ad20eb},
archivePrefix = {arXiv},
eprint = {2312.05302},
primaryClass = {astro-ph.CO},
adsurl = {https://ui.adsabs.harvard.edu/abs/2024ApJ...964..191B},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}