Skip to main content

Emulator of 21cmFAST summaries.

Project description

21cmEMU

A 21cmFAST emulator of the first billion years

PyPI Status Python License Tests Codecov Ruff pre-commit RTD

An emulator of 21cmFAST summaries, supporting three galaxy-formation models:

  • ACG (v1; Breitman+23) — Atomic Cooling Galaxies (Pop II only). A 9-parameter emulator for the standard reionization scenario without mini-halos.
  • radio (v2; Cang+24) — Radio Background. A 5-parameter emulator that adds a radio background sourced by molecular cooling (Pop III) stars on top of atomic cooling galaxies.
  • MCG (v3; Breitman+26) — Molecular Cooling Galaxies. The most complete 11-parameter emulator, jointly modelling atomic and molecular cooling galaxies (Pop II + Pop III). Uniquely emulates the 2D cylindrical power spectrum P(k, k) via a score-based diffusion model.

Emulated summary statistics per model

Output acg (v1) radio (v2) mcg (v3)
Global brightness temperature Tb
Neutral fraction xHI
Thomson optical depth τ
IGM spin temperature Ts
Radio temperature Tr
1D power spectrum P(k)
2D power spectrum P(k, k)
UV luminosity functions

Documentation

See the documentation for tutorials and API.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

Citation

If you use 21cmEMU in your research, please cite Breitman+23. In particular, if you use 21cmEMUv2, also cite Cang+24. If you use the newest mcg/v3 emulator, please also cite Breitman+26.

License

Distributed under the terms of the MIT license, 21cmEMU is free and open source software.

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

py21cmemu-3.0.0.tar.gz (234.7 MB view details)

Uploaded Source

Built Distribution

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

py21cmemu-3.0.0-py3-none-any.whl (208.7 MB view details)

Uploaded Python 3

File details

Details for the file py21cmemu-3.0.0.tar.gz.

File metadata

  • Download URL: py21cmemu-3.0.0.tar.gz
  • Upload date:
  • Size: 234.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for py21cmemu-3.0.0.tar.gz
Algorithm Hash digest
SHA256 8f27eb0a3a10d803f35a87172a9272745dc5e04233cfac776517fdccd0406800
MD5 b1aadc4ed49b8125eb3d82c8e6d87430
BLAKE2b-256 af66a47ec829d4bcfe263db24b54a6ae8e6c56dc924440077f4d8225ade57d0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for py21cmemu-3.0.0.tar.gz:

Publisher: deploy.yaml on 21cmfast/21cmEMU

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py21cmemu-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: py21cmemu-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 208.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for py21cmemu-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e94002e36bff9aa8d7921806b6fdc2c713b3d7d28ba0e30aefafe0c2cde08b6
MD5 3ba800110e1d7d204fc61d36a89b4d2e
BLAKE2b-256 ab5c2bbb7c90ce7fc62b716cf9bca14f4a6e4eb1c9a620cb2b161c4498e90e48

See more details on using hashes here.

Provenance

The following attestation bundles were made for py21cmemu-3.0.0-py3-none-any.whl:

Publisher: deploy.yaml on 21cmfast/21cmEMU

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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