Skip to main content

jaxeffort

Open In Colab codecov arXiv Documentation Documentation Dev

JAX-based emulator for galaxy power spectra with bias modeling and EFT corrections.

Documentation

Installation and usage

In order to install jaxeffort, you can just run

pip install jaxeffort

If you prefer to use the latest version from the repository, you can clone it, enter it, and run

pip install .

In order to use the emulators, you have to import jaxeffort and load a trained emulator

import jaxeffort
import jax.numpy as np
trained_emu = jaxeffort.load_multipole_emulator("/path/to/emu/")

Then you are good to go! You have to create input arrays for cosmological and bias parameters and retrieve your calculation result

cosmo_params = np.array([...])  # cosmological parameters
bias_params = np.array([...])   # bias parameters
result = trained_emu.get_Pl(cosmo_params, bias_params, D)

For a more detailed explanation, check the tutorial in the notebooks folder, which also shows a comparison with standard power spectrum calculations.

Citing

Free usage of the software in this repository is provided, given that you cite our release paper.

M. Bonici, G. D'Amico, J. Bel, C. Carbone, Effort.jl: a fast and differentiable emulator for the Effective Field Theory of the Large Scale Structure of the Universe, JCAP 09 (2025) 044

@article{Bonici_2025,
  doi = {10.1088/1475-7516/2025/09/044},
  url = {https://dx.doi.org/10.1088/1475-7516/2025/09/044},
  year = {2025},
  month = {sep},
  publisher = {IOP Publishing},
  volume = {2025},
  number = {09},
  pages = {044},
  author = {Bonici, Marco and D'Amico, Guido and Bel, Julien and Carbone, Carmelita},
  title = {Effort.jl: a fast and differentiable emulator for the Effective Field Theory of the Large Scale Structure of the Universe},
  journal = {Journal of Cosmology and Astroparticle Physics}
}

Metadata

Release files for jaxeffort 0.2.5

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

Source distribution (sdist)

Source distribution for jaxeffort 0.2.5
File Size Uploaded
jaxeffort-0.2.5.tar.gz 11.8 kB Details

Built distribution (wheel)

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

Total release size: 23.3 kB

Release files / jaxeffort-0.2.5.tar.gz

Download URL jaxeffort-0.2.5.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e96727177e9b2784d2709f44633e4a2b10bf34e65c98dcd09ee4f4547c926567
BLAKE2b-256 checksum
How to use checksums
29ba5698b8e39cdd6fb56efc4ba4961a2a5061a301d68c24fd30b41e35e3dc48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 22, 2026.

Transparency log

Release files / jaxeffort-0.2.5-py3-none-any.whl

Download URL jaxeffort-0.2.5-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb70ac817963ca0674399d02e61bb5873a15fbc4ed955479b1f6301d8f6fa54d
BLAKE2b-256 checksum
How to use checksums
4510fd41487ba7212c1abcd8a638fc45fdf0bbd62ffc296372269395191c775f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

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