Skip to main content

dark emulator package

Project description

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

Please note that updates on conda are currently halted due to an unresolved issue in conda build. Therefore, we recommend using the version in pip or installing from the source using the following command.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dark_emulator-1.1.2.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

dark_emulator-1.1.2-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file dark_emulator-1.1.2.tar.gz.

File metadata

  • Download URL: dark_emulator-1.1.2.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for dark_emulator-1.1.2.tar.gz
Algorithm Hash digest
SHA256 0f4f5623d73eb8a3be8325b3c294a5eca39f52f810914e4a5f8e8d8d15048f73
MD5 4c2fd3a1c8affd1a7e58a463f13c7202
BLAKE2b-256 e90d57c810a997c1d7c4cd2fd849145beb20f067d39d4f2105bf4b529fd3d4cc

See more details on using hashes here.

File details

Details for the file dark_emulator-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for dark_emulator-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c855d8bb2e37efca79d01dc58c44458f71b26c2fda101c4704d608fcc0438f58
MD5 36517191096cf6a9f91ceaa45b3795d5
BLAKE2b-256 322a2d0bad8a980b3ab1f008869462c502d5fe0314c5654b0fb9922fa47258cb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page