Skip to main content

Resummation model for computing suppression signals from baryon fractions.

Project description

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. (2025, VD25).

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 VD25, 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)

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

resummation-1.0.1.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

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

resummation-1.0.1-py2.py3-none-any.whl (4.9 MB view details)

Uploaded Python 2Python 3

File details

Details for the file resummation-1.0.1.tar.gz.

File metadata

  • Download URL: resummation-1.0.1.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for resummation-1.0.1.tar.gz
Algorithm Hash digest
SHA256 112a63bbdd84225f334337f17a9510a55bcb9ba9180022892226901a8775172d
MD5 1ba085441884cfabd586f1666bc319b6
BLAKE2b-256 82f8df7e5f18002eeee654be394ea85fb8633eb3c629ff6fd86c1363552aea3e

See more details on using hashes here.

File details

Details for the file resummation-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: resummation-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for resummation-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7ba7e7932b67e8fd54d8d22818ac71fb10aca28416065a691766c3ab3905332a
MD5 bbf68988a719e4fe8765f8bd6006100d
BLAKE2b-256 180baea2aabcc0ccf3133ca008e2d73fa8ec4e4485a21f0a05163d8b2deb629f

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