21cmPSDenoiser


توضیحات

Tools for post-processing and computing summaries of 21cmFAST simulations
ویژگی مقدار
سیستم عامل Unix
نام فایل 21cmPSDenoiser-1.0.2
نام 21cmPSDenoiser
نسخه کتابخانه 1.0.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Daniela Breitman <daniela.breitman@sns.it>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/21cmPSDenoiser/
مجوز MIT
================================================================================ 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 <https://github.com/21cmfast/tuesday>`_, a wrapper around `powerbox <https://github.com/steven-murray/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.


نیازمندی

مقدار نام
- torch>=2.0.1
- tuesday-eor>=2.3.0
- astropy>=7.0.1
- attrs>=25.3.0
- numpy>=2
- powerbox>=0.8.2
- scipy>=1.15.2
xtr coverage;
xtr pytest-cov;
xtr pre-commit;
xtr pytest;
xtr sphinx;
xtr 21cmPSDenoiser[21cmfast,tests];


زبان مورد نیاز

مقدار نام
>=3.10 Python


نحوه نصب


نصب پکیج whl 21cmPSDenoiser-1.0.2:

    pip install 21cmPSDenoiser.whl


نصب پکیج tar.gz 21cmPSDenoiser-1.0.2:

    pip install 21cmPSDenoiser.tar.gz