Skip to main content

Tools for post-processing and computing summaries of 21cmFAST simulations

Project description

21cmPSDenoiser is a package that provides a score-based diffusion model trained on 21cmFAST simulations that is capabale of significantly reducing the effect of sample variance on individual 21-cm power spectrum (PS) realisations. In Breitman+25, we find that it’s better to reproduce the 21-cm PS calculation as closely as possible to the training set for optimal performance. This is especially true when applying 21cmPSDenoiser on 21-cm PS from different simulators and / or physical models. The 21-cm power spectra in the training set have been computed with tuesday, a wrapper around powerbox. In the near future, we will provide a script to calculate the 21-cm PS from a lightcone in the exact same way as was done in the training set.

The package can be installed with pip via pip install 21cmPSDenoiser and tutorials are in docs/tutorials.

If you use this code in your research, please cite Breitman+25.

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

21cmpsdenoiser-1.0.2.tar.gz (74.5 MB view details)

Uploaded Source

Built Distribution

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

21cmpsdenoiser-1.0.2-py3-none-any.whl (34.0 MB view details)

Uploaded Python 3

File details

Details for the file 21cmpsdenoiser-1.0.2.tar.gz.

File metadata

  • Download URL: 21cmpsdenoiser-1.0.2.tar.gz
  • Upload date:
  • Size: 74.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for 21cmpsdenoiser-1.0.2.tar.gz
Algorithm Hash digest
SHA256 bb04c7df5abf8d0671b7a2ed5a96ad8a62160203589f8fc9bea0b9a281ee761b
MD5 260fd7821040e4e94d0aa0e0ecc3779a
BLAKE2b-256 82214feacaa8156a4025dfefe53b084ab1acec959fd7ea8c0dcd54ed72f505f5

See more details on using hashes here.

File details

Details for the file 21cmpsdenoiser-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: 21cmpsdenoiser-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 34.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for 21cmpsdenoiser-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d1cafcff82331307b2cad1d76c64fc3d188c0b987db4122440255249f748472a
MD5 bc5c1bd1de1ff8c533de832ab198f3ad
BLAKE2b-256 207d4b20fc58cbcbaec2c6e23a9deea1b9d270141370ae6b3a08323d22a9530c

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