COMET - Cosmological Observables Modelled by Emulated perturbation Theory.
Project description
Give a Welcome to the COMET
Author: | Alex E. et al. |
Source: | Source code at GitLab |
Documentation: | Documentation at Readthedocs |
Installation: | pip install comet-emu |
References: | Sanchez 2020, Sanchez et al 2021 |
:dizzy: COMET - Cosmological Observables Modelled by Emulated perturbation Theory.
COMET is a Python package that provides emulated predictions of large-scale structure observables from models that are based on perturbation theory. COMET substantially speeds up these analytic computations without any relevant sacrifice in accuracy, enabling an extremely efficient exploration of large-scale structure likelihoods.
At its core, COMET exploits the evolution mapping approach of Sanchez 2020 and Sanchez et al. 2021, which gives it a high degree of flexibility and allows it to cover a wide cosmology parameter space at continuous redshifts up to $z \sim 3$. Specifically, the current release of COMET supports the following parameters (for more details, see here):
Phys. cold dark matter density | $\omega_c $ |
Phys. baryon density | $\omega_b $ |
Scalar spectral index | $n_s $ |
Hubble expansion rate | $h $ |
Amplitude of scalar fluctuations | $A_s $ |
Constant dark energy equation of state parameter | $w_0 $ |
Time-evolving equation of state parameter | $w_a $ |
Curvature density parameter | $\Omega_K $ |
Currently, COMET can be used to obtain the following quantities (the perturbation theory models are described here):
- the real-space galaxy power spectrum at one-loop order
- multipoles (monopole, quadrupole, hexadecapole) of the redshift-space power spectrum at one-loop order
- the linear matter power spectrum (with and without infrared resummation)
- Gaussian covariance matrices for the real-space power spectrum and redshift-space multipoles
- $
\chi^2
$'s for arbitrary combinations of multipoles
COMET provides an easy-to-use interface for all of these computations, and we give quick-start as well as more in-depth examples on our tutorial pages.
Our package is made publicly available under the MIT licence; please cite the papers listed above if you are making use of COMET in your own work.
Getting started
Install the code is as easy as
pip install comet-emu
Then you can follow the Jupyter Notebook
for a small example on how to make predictions, compare with data and estimate
the $\chi^2
$ of your model.
Developer version
If you want to modify the code and play around with it, we provide a developer version so that you can make it and test it. Also, could be possible that you have your own theoretical predictions and you wish to train the emulator with your own computations. You can install the developer version as follow.
git clone git@gitlab.com:aegge/comet-emu.git
cd comet-emu
pip install -e .
Then you can follow the Jupyter Notebook to learn how to train the COMET and make predictions.
License
MIT License
Project status
.. note::
The COMET emulator is under constant development and new versions of the
emulator become available as we improve them. Follow our public repository <https://gitlab.com/aegge/comet-emu>
_ to make sure you are always up to
date with our latest release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file comet-emu-1.3.0.tar.gz
.
File metadata
- Download URL: comet-emu-1.3.0.tar.gz
- Upload date:
- Size: 79.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eb0d8348193b86fb65b6dcc653a12a662a078c61ac310a70db68159aa93562b |
|
MD5 | 43aea1d76528d9dccc3b05973fe6b72e |
|
BLAKE2b-256 | 82fdcf86f8676287de9ce4834920febd528ad7ff8cd8837908a4ce68e5aa065a |
File details
Details for the file comet_emu-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: comet_emu-1.3.0-py3-none-any.whl
- Upload date:
- Size: 84.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16f30ab695600ff0d3f45336510bab2726f9bba007340845fb9ff30710435b0b |
|
MD5 | b4d04fbc8dd2024979722e8a6f791002 |
|
BLAKE2b-256 | c79a248d907584306c54619e5455b120e9c1df9b57f8628125e1eeffe039fe6e |