Skip to main content

Dark Emulator

Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

A repository for a cosmology tool dark_emulator to emulate halo clustering statistics. The code is developed based on Dark Quest simulation suite (https://darkquestcosmology.github.io/). The current version supports the halo mass function and two point correlation function (both halo-halo and halo-matter cross).

Install

In order to install dark emulator package, use pip:

   pip install dark_emulator

or use conda:

   conda install -c nishimichi dark_emulator

(Nov. 2026) v1.2.0 is available on both pip and conda. This release supports recent SciPy versions (removed simps/trapz/scipy.misc.derivative) and fixes two bugs that slightly change numerical outputs: the FFTLog wrapper argument forwarding (#31) and the k-grid of the halo-matter propagator (#32).

If the above does not work for you, you may download the source files from this repository and install via

python -m pip install -e .

after moving to the top directory of the source tree. In that case, you need to install george (a software package for the Gaussian process) and colossus

conda install -c conda-forge george
pip install colossus

From version 1.1.0, dark_emulator uses FFTLog implementation by Fang et al (2019); arXiv:1911.11947.

Usage

You can then check how Dark Emulator works by running a tutorial notebook at

docs/tutorial.ipynb
docs/tutorial-hod.ipynb

See also the documentation on readthedocs.

Code Paper

The main reference for our halo emulation strategy is: "Dark Quest. I. Fast and Accurate Emulation of Halo Clustering Statistics and Its Application to Galaxy Clustering", by T. Nishimichi et al., ApJ 884, 29 (2019), arXiv:1811.09504. Please also refer to the paper "Cosmological inference from emulator based halo model I: Validation tests with HSC and SDSS mock catalogs", by H. Miyatake et al., arXiv:2101.00113 for the implementation and performance of the halo-galaxy connection routines.

Metadata

Release files for dark-emulator 1.2.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 dark-emulator 1.2.0
File Size Uploaded Provenance Actions
dark_emulator-1.2.0.tar.gz 3.9 MB Without provenance Details for dark_emulator-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dark-emulator 1.2.0
File Interpreter ABI Platform Actions
dark_emulator-1.2.0-py3-none-any.whl Python 3 none any Details for dark_emulator-1.2.0-py3-none-any.whl

Total release size: 6.8 MB

Release files / dark_emulator-1.2.0.tar.gz

Download URL dark_emulator-1.2.0.tar.gz
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
35f86089adb7178ed75734467764f3efa4df67038fc299d80ed77a517e8400ff
BLAKE2b-256 checksum
How to use checksums
c5f0d9b58bc4786957ccfc5d8df28bcb26a63bac2ac1553e6c79b709c9ad46f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / dark_emulator-1.2.0-py3-none-any.whl

Download URL dark_emulator-1.2.0-py3-none-any.whl
Size 2.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0da313d4deda9ed96102b02b48a639486a1857a7119adabcfc94c4724e94d7ae
BLAKE2b-256 checksum
How to use checksums
a5727156be21cd42432428bbba416726786324e5da38b84cd6d37231a3aef2de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for dark-emulator 1.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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