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. (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)

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.2.tar.gz (2.5 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.2-py2.py3-none-any.whl (5.0 MB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for resummation-1.0.2.tar.gz
Algorithm Hash digest
SHA256 43c087a3b8c2f943eb53853da3c19794ede142a21ac42feff480a3f205569ffd
MD5 81668dfd5676c03c67039b4db60ba994
BLAKE2b-256 bcb953f61f7300bd2281789563dd35b4039b5997c011d3f5b1c3cf5c793e0d0d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for resummation-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4a4916ded345fdba23061a159d4bf99abd243ad106ff4feef01e3730cb15f369
MD5 76890d72c9e175f02a798fd85a422571
BLAKE2b-256 4aed85f5362e7851c523c6898afc670ef1b8940bcabc0a87cc7661d6ae43c9aa

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