Resummation
A Python implementation of the resummation model, which can be used to compute matter power suppression signals from halo baryon fractions. This version of the resummation model is described in van Daalen et al. (2026, VD26): https://ui.adsabs.harvard.edu/abs/2026MNRAS.545f2086V/abstract
Installation
The easiest way to install the package is to use pip:
pip3 install resummation
Notes on usage
Creating a new instance of Resummation initializes the model to a set of DMO power spectra. See docstring of init for initialization parameters.
After intializing the model, baryon fractions (or retained mass fractions directly) should be set before calling run_resummation(). Optionally, stellar fractions and a collective retained mass fraction for the combined 5xR500c regions can be set as well (see sections 2.2.3 and 3.6 of VD26, respectively). The model does not need to be reinitialized in order to provide predictions for new sets of baryon fractions: simply set new baryon fractions on the existing object and call run_resummation() again.
To set mean halo baryon fractions, use either set_fret_from_fb() (when providing regular baryon fractions), or set_fret_from_fbc() (when providing corrected baryon fractions). Alternatively, use set_fret() to set retained mass fractions directly. See the documentation of these functions for more information.
Author
- Marcel van Daalen (@daalen on GitHub, @MPvanDaalen on PyPI)
Metadata
Release files for resummation 1.0.3
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 |
|---|---|---|---|---|
| resummation-1.0.3.tar.gz | 2.5 MB | Without provenance | Details for resummation-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| resummation-1.0.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for resummation-1.0.3-py2.py3-none-any.whl |
Total release size: 7.5 MB
Release files / resummation-1.0.3.tar.gz
| Download URL | resummation-1.0.3.tar.gz |
|---|---|
| Size | 2.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bdf139b47cba483a9fc8ff12991524b9ec8e8cbf1d911ce12e4d99f0ff63783c
|
|
BLAKE2b-256 checksum How to use checksums |
9f8ef2bc8052da2adc595380fc7e749a1f65ec7697ede2eb333b855b535ba6af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.0
|
Release files / resummation-1.0.3-py2.py3-none-any.whl
| Download URL | resummation-1.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 5.0 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f8b370a21460374dcf5e3ec61201b308294222e25fc2372df211689dc668353b
|
|
BLAKE2b-256 checksum How to use checksums |
97f7f15db0e75c1420b43b8a5daae787432fb9a9a181375c3fcfad33a57dd91d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.0
|
Security for resummation 1.0.3
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.