Skip to main content

DOI PyPI release pipeline

e-MANTIS: Emulator for Multiple observable ANalysis in extended cosmological TheorIeS

Description

e-MANTIS is a python package containing emulators providing theoretical predictions for the nonlinear 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. The emulator supports multiple cosmological models and observables. It is divided in multiple modules, each one focusing on a particular type of observable. Currently, e-MANTIS provides emulators for the following quantities:

Please cite the corresponding papers if you use e-MANTIS in your work.

This project is under constant development. More observables and cosmological models will be added in the future. Stay tuned!

Installation

You can install the python package from PyPI via pip:

pip install emantis

Or you can directly clone 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] .

It requires a python version >= 3.10.

Post-installation

The emulators shipped with e-MANTIS need to be trained before they can provide predictions. This will be done automatically and on-the-fly the first time you use each emulator.

Alternatively, we provide a CLI utility to train all emulators at once:

emantis-train

This should not take more than a couple of minutes.

The trained emulators are saved to disk, using the pickle protocol, ready for future usage. Major changes in the versions of python, e-MANTIS, or some of its main dependencies, such as numpy, scipy, or scikit-learn, might break the compatibility with previously trained emulators. In such case, the emulators will be retrained automatically on-the-fly. You can also retrain them manually using the CLI utility.

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

inigo.saez-casares@obspm.fr

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

Metadata

Release files for emantis 1.2.2

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

Source distribution (sdist)

Source distribution for emantis 1.2.2
File Size Uploaded
emantis-1.2.2.tar.gz 21.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for emantis 1.2.2
File Interpreter ABI Platform
emantis-1.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 42.0 MB

Release files / emantis-1.2.2.tar.gz

Download URL emantis-1.2.2.tar.gz
Size 21.0 MB
Tags Source
SHA-256 checksum
How to use checksums
2f826a1baaee0467ffd70846eadf25b4c0311289ac8cb4815ae43cb5b6ae655c
BLAKE2b-256 checksum
How to use checksums
c1f79d86e21c50978a253815a44c7a0d6b6c94ce7d980e1e4929b6706c6d4b85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.22

Release files / emantis-1.2.2-py3-none-any.whl

Download URL emantis-1.2.2-py3-none-any.whl
Size 21.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
31b819015252eae1e457091884ecf910ba2bf3330031b2e4c300741135b4f8d4
BLAKE2b-256 checksum
How to use checksums
854f72a576735be10099360d1f311e1fbc31acd1edde130635d0057925b0a5ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.22

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

1 release file

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