21cmPSDenoiser - A score-based diffusion model that denoises 21-cm power spectra
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.
Metadata
Release files for 21cmPSDenoiser 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| 21cmpsdenoiser-1.0.2.tar.gz | 74.5 MB | Without provenance | Details for 21cmpsdenoiser-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 21cmpsdenoiser-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for 21cmpsdenoiser-1.0.2-py3-none-any.whl |
Total release size: 108.5 MB
Release files / 21cmpsdenoiser-1.0.2.tar.gz
| Download URL | 21cmpsdenoiser-1.0.2.tar.gz |
|---|---|
| Size | 74.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb04c7df5abf8d0671b7a2ed5a96ad8a62160203589f8fc9bea0b9a281ee761b
|
|
BLAKE2b-256 checksum How to use checksums |
82214feacaa8156a4025dfefe53b084ab1acec959fd7ea8c0dcd54ed72f505f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|
Release files / 21cmpsdenoiser-1.0.2-py3-none-any.whl
| Download URL | 21cmpsdenoiser-1.0.2-py3-none-any.whl |
|---|---|
| Size | 34.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1cafcff82331307b2cad1d76c64fc3d188c0b987db4122440255249f748472a
|
|
BLAKE2b-256 checksum How to use checksums |
207d4b20fc58cbcbaec2c6e23a9deea1b9d270141370ae6b3a08323d22a9530c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|
Security for 21cmPSDenoiser 1.0.2
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.