https://github.com/cosmostatgw/chimera
Combined Hierarchical Inference Model for Electromagnetic and gRavitational Wave Analysis
https://github.com/cosmostatgw/chimera
cosmology galaxy-catalogs gravitational-waves hierarchical-bayesian-analysis
Last synced: 4 months ago
JSON representation
Combined Hierarchical Inference Model for Electromagnetic and gRavitational Wave Analysis
- Host: GitHub
- URL: https://github.com/cosmostatgw/chimera
- Owner: CosmoStatGW
- License: gpl-3.0
- Created: 2023-05-19T08:22:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-19T09:55:01.000Z (6 months ago)
- Last Synced: 2026-01-19T17:05:25.151Z (6 months ago)
- Topics: cosmology, galaxy-catalogs, gravitational-waves, hierarchical-bayesian-analysis
- Language: Python
- Homepage: https://chimera-gw.readthedocs.io/
- Size: 21 MB
- Stars: 13
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CHIMERA

**CHIMERA** is a hierarchical Bayesian pipeline for standard siren cosmology with gravitational wave data alone or in combination with galaxy catalogs.
The latest version delivers 10-1000× speedup through JAX and GPU acceleration, enabling the analysis of thousands of events for next-generation gravitational wave observatories.
[](https://github.com/CosmoStatGW/CHIMERA/)
[](https://arxiv.org/abs/2106.14894)
[](https://arxiv.org/abs/2504.02034)
[](https://chimera-gw.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/CosmoStatGW/CHIMERA/blob/main/LICENSE)
[](https://github.com/CosmoStatGW/CHIMERA/releases)
## Documentation
The full documentation is hosted at [chimera-gw.readthedocs.io](https://chimera-gw.readthedocs.io)
## Quick start installation
The code can be quikly installed from [Pypi](https://pypi.org/project/chimera-gw/):
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__)"
These instructions install **CHIMERA** with a CPU-only version of JAX. For GPU support, first install JAX with a GPU backend following the [official installation guide](https://jax.readthedocs.io/en/latest/installation.html)), then proceed with the **CHIMERA** installation.
For HPC systems with GPU nodes, see the [HPC and GPU installation guide](https://chimera-gw.readthedocs.io/en/latest/user_guide/hpc_gpu_installation.html).
## Citation
If you find this code useful in your research, please cite the following papers:
- Borghi et al. 2024 ([ADS](https://ui.adsabs.harvard.edu/abs/2024ApJ...964..191B/abstract), [arXiv](https://arxiv.org/abs/2312.05302), [INSPIRE](https://inspirehep.net/literature/2734729))
- Tagliazucchi et al. 2025 ([ADS](https://ui.adsabs.harvard.edu/abs/2025arXiv250402034T/abstract), [arXiv](https://arxiv.org/abs/2504.02034), [INSPIRE](https://inspirehep.net/literature/2907634)):
BibTeX from INSPIRE:
@article{Borghi:2023opd,
author = "Borghi, Nicola and Mancarella, Michele and Moresco, Michele and Tagliazucchi, Matteo and Iacovelli, Francesco and Cimatti, Andrea and Maggiore, Michele",
title = "{Cosmology and Astrophysics with Standard Sirens and Galaxy Catalogs in View of Future Gravitational Wave Observations}",
eprint = "2312.05302",
archivePrefix = "arXiv",
primaryClass = "astro-ph.CO",
doi = "10.3847/1538-4357/ad20eb",
journal = "Astrophys. J.",
volume = "964",
number = "2",
pages = "191",
year = "2024"
}
@article{Tagliazucchi:2025ofb,
author = "Tagliazucchi, Matteo and Moresco, Michele and Borghi, Nicola and Fiebig, Manfred",
title = "{Accelerating the standard siren method: Improved constraints on modified gravitational-wave propagation with future data}",
eprint = "2504.02034",
archivePrefix = "arXiv",
primaryClass = "astro-ph.CO",
doi = "10.1051/0004-6361/202554827",
journal = "Astron. Astrophys.",
volume = "702",
pages = "A244",
year = "2025"
}
## Contributions
CHIMERA is actively maintained at the *University of Bologna* by: [Nicola Borghi (nicola.borghi6@unibo.it)](https://orcid.org/0000-0002-2889-8997), [Matteo Tagliazucchi (matteo.tagliazucchi2@unibo.it)](https://orcid.org/0009-0003-8886-3184), and
[Michele Moresco (michele.moresco@unibo.it)](https://orcid.org/0000-0002-7616-7136).
Michele Mancarella, Francesco Iacovelli and Michele Maggiore contributed to the development of the first version of the code.
The development of CHIMERA has also been supported from the work of Master's thesis students at the University of Bologna (in reverse chronological order):
- *Martina Mori* (2025, [thesis](https://amslaurea.unibo.it/id/eprint/36127/)): optimizing the extraction of information from future GW data
- *Giulia Cuomo* (2025, [thesis](https://amslaurea.unibo.it/id/eprint/35185/)): incompleteness function and application to GWTC-3 data
- *Manfred Fiebig* (2025, [thesis](https://amslaurea.unibo.it/id/eprint/34082/)): modified GW propagation function and forecasts for LVK-O5
- *Niccolò Passaleva* (2024, [thesis](https://amslaurea.unibo.it/id/eprint/30896/)): mass function models and inference with nested sampling
- *Matteo Schulz* (2024, [thesis](https://amslaurea.unibo.it/id/eprint/27607/)): mass function models and cosmological analysis