Skip to main content

Base DarkHistory. Used in DM21cm. NN transfer functions available.

Project description

New formats for required data files

For versatility, all data files required to use DarkHistory have been converted to HDF5, JSON, and plain text files. All active branches of DarkHistory have been updated to use the new set of data files. You can download the new data files at the following link.

DarkHistory v1.1.1 for DM21cm

The branch of DarkHistory used in DM21cm, a semi-numerical simulation of inhomogemeous dark matter energy injection based on DarkHistory and 21cmFAST. The data files used for this release is the same as v1.1 (see below). DM21cm is described in arXiv:2312.11608.

DarkHistory v2.0, with improved treatment of low energy electrons and spectral distortions

The branch containing the upgraded treatment for low energy electrons and spectral distortions can be found here. In additional to the data files needed for v1.0, this upgrade requires additional data files.

The upgrades are described in a paper available at arXiv:2303.07366, and examples of applications are given in arXiv:2303.07370. Please cite these as well as arXiv:1904.09296 if you use this version of DarkHistory in a scientific publication.

DarkHistory v1.1 with Neural Network transfer functions

Added Neural Network transfer functions to optionally replace large tabulated transfer functions. Requires Tensorflow 2.0 in addition to v1.0 dependencies, and a compact dataset to use the Neural Network transfer functions. (To upgrade from v1.0, one can simply add the compact dataset to the existing data directory). To use the tabulated transfer functions, a full dataset is required. (This version of DarkHistory also works with v1.0 dataset with setting use_v1_0_data=True in config.py.)

The update is described in a paper available at arXiv:2207.06425. Please cite this paper as well as arXiv:1904.09296 if you use this version of DarkHistory in a scientific publication. The release for this version can be found here. For more information, please visit our webpage here.

DarkHistory v1.0

DarkHistory is a Python code package that calculates the global temperature and ionization history of the universe given an exotic source of energy injection, such as dark matter annihilation or decay. DarkHistory is described in a paper available at arXiv:1904.09296. Please cite this paper if you use DarkHistory in a scientific publication. The data files for required for this version can be found here. The release for this version can be found here. For more information, please visit our webpage here.

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

darkhistory-0.0.20240901.2.tar.gz (9.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

darkhistory-0.0.20240901.2-py3-none-any.whl (339.2 kB view details)

Uploaded Python 3

File details

Details for the file darkhistory-0.0.20240901.2.tar.gz.

File metadata

  • Download URL: darkhistory-0.0.20240901.2.tar.gz
  • Upload date:
  • Size: 9.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for darkhistory-0.0.20240901.2.tar.gz
Algorithm Hash digest
SHA256 05a6b1e04610183a9c196211bcb6c5f1b0f2cc148436c6439b2e55fa778b4f60
MD5 86ea4aeca20ffdeea7fc752532931ba3
BLAKE2b-256 857b2bdc8c93972a8ad73683c5a383f86e69240a3187ef86ee0e980b9a6fa419

See more details on using hashes here.

File details

Details for the file darkhistory-0.0.20240901.2-py3-none-any.whl.

File metadata

File hashes

Hashes for darkhistory-0.0.20240901.2-py3-none-any.whl
Algorithm Hash digest
SHA256 261e7c0270e8c839d1d476bc54239b59e36ea98c6b2b3b0f84d878bb1c95af52
MD5 f054c6e313ade340313d05b29e16c8ef
BLAKE2b-256 7ed5d19edf60f8d780a9027d08c496b3cf90f637701fe706ebc0b37fec73898b

See more details on using hashes here.

Supported by

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