Skip to main content

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: Eggemeier et al 2022, Pezzotta et al 2025

: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$
Total neutrino mass $M_\nu$

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

comet_emu-2.0.6.tar.gz (18.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comet_emu-2.0.6-cp38-cp38-macosx_13_0_x86_64.whl (130.7 kB view details)

Uploaded CPython 3.8macOS 13.0+ x86-64

File details

Details for the file comet_emu-2.0.6.tar.gz.

File metadata

  • Download URL: comet_emu-2.0.6.tar.gz
  • Upload date:
  • Size: 18.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.19

File hashes

Hashes for comet_emu-2.0.6.tar.gz
Algorithm Hash digest
SHA256 cde17cc1f25f668a3f14c9685330596b11268c44b0f575ab755226f3eea1e81a
MD5 874ee9dabc45906cb906bcbc38a73198
BLAKE2b-256 bd0c52087f2b271a169d8ecad1c85505b88a36b01735c7be4812819678e502fa

See more details on using hashes here.

File details

Details for the file comet_emu-2.0.6-cp38-cp38-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for comet_emu-2.0.6-cp38-cp38-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7355fea5824ad69660a5bf942aac0eaddb5a5dead65a079ac0a782f39adf9dc0
MD5 6ee96977e0edeb1fe900904828361ef5
BLAKE2b-256 99c168f1abbef7038adbbd576833f9aab8aac1611eaa585f1cbb47a01b11bfcf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page