A cosmological emulator for non-linear large-scale structure formation studies in alternative dark energy and gravity theories.
Project description
e-MANTIS: Emulator for Multiple observable ANalysis in extended cosmological TheorIeS
Description
e-MANTIS is an emulator for the study of the non-linear large-scale structure formation in the context of alternative dark energy and gravity theories. It uses Gaussian Processes to perform a fast and accurate interpolation between the outputs of high resolution cosmological N-body simulations. Currently, e-MANTIS is able to provide theoretical predictions for the following quantities:
Matter power spectrum boost in f(R) gravity, described in The e-MANTIS emulator: fast predictions of the non-linear matter power spectrum in f(R)CDM cosmology.
Halo mass function in f(R)CDM and wCDM cosmologies, described in COMING SOON.
Please cite the corresponding papers if you use e-MANTIS in your work.
More observables and cosmological models will be added in the future. Stay tuned!
Installation
You can install the emulator from PyPI via pip:
pip install emantis
Or you can directly clone the emulator from our public repository and install it from source:
git clone https://gitlab.obspm.fr/e-mantis/e-mantis.git cd e-mantis pip install [-e] .
The emulator only works with python >= 3.9. The main dependencies are:
h5py (tested with version >= 3.8)
scikit-learn (tested with version >= 1.0)
numpy (tested with version >= 1.26)
pydantic (tested with version >= 2.6)
joblib (tested with version >= 1.3.2)
tomli (tested with version >= 2.0, required only for python < 3.11)
All the dependencies should be installed automatically by pip.
Documentation and usage
The up-to-date documentation for this project (with code examples and a detailed API) is available here.
Licence
Copyright (C) 2023 Iñigo Sáez-Casares - Université Paris Cité
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
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 emantis-1.1.0.tar.gz
.
File metadata
- Download URL: emantis-1.1.0.tar.gz
- Upload date:
- Size: 5.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.6 Linux/6.10.12-200.fc40.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fba7e8b847a3c2152616a839478229628c77ca96129dd50547a3b23a41e56f4 |
|
MD5 | cb2bab756a878c509dbcb26dcc97e24c |
|
BLAKE2b-256 | 5fef9a3497eb25ccd8bc1c8803366f33f200cf56b5b82c7863039f4419dfdd78 |
File details
Details for the file emantis-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: emantis-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.6 Linux/6.10.12-200.fc40.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 251fdbfbac189b86f9c4ed135536c706a50e6f61187434086a92f3ee207ec3ad |
|
MD5 | 0efe123c503fe81fe3ae3f455ef1cddb |
|
BLAKE2b-256 | 148fec883389deaab36747019de82a4e5b93825186807bf34cc949efacb2b4bf |