Skip to main content

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

💫 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.

Metadata

Release files for comet-emu 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for comet-emu 2.1.0
File Size Uploaded
comet_emu-2.1.0.tar.gz 18.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for comet-emu 2.1.0
File Interpreter ABI Platform
comet_emu-2.1.0-cp39-cp39-macosx_13_0_x86_64.whl CPython 3.9 CPython 3.9 macOS 13.0+ x86-64 Details

Total release size: 19.1 MB

Release files / comet_emu-2.1.0.tar.gz

Download URL comet_emu-2.1.0.tar.gz
Size 18.9 MB
Tags Source
SHA-256 checksum
How to use checksums
ba5cf264092070fe562d380b4e056324aabf871adf147c5be879752c4e5fb682
BLAKE2b-256 checksum
How to use checksums
226d8a7b58760b63d88be2d1794dbf5e56f97aaedbb879aeb1915f466dd543b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.19

Release files / comet_emu-2.1.0-cp39-cp39-macosx_13_0_x86_64.whl

Download URL comet_emu-2.1.0-cp39-cp39-macosx_13_0_x86_64.whl
Size 132.5 kB
Tags CPython 3.9 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
1f95f2e394c0708e6fd76e71c4b6214c7ceb344dd69ef504be45ff4d6eb6e96e
BLAKE2b-256 checksum
How to use checksums
d31c36c7a5a216574d1eb7f27df01b9f742e07bfa4eaa6a524f6f7184c368eec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.19

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.9

2 release files

2.0.8

2 release files

2.0.7

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.3

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page