pyccl.baryons.schneider15 module

class pyccl.baryons.schneider15.BaryonsSchneider15(self, log10Mc=14.079181246047625, eta_b=0.5, k_s=55.0)[source]

Bases: Baryons

The “BCM” model boost factor for baryons. BCM stands for the “baryonic correction model” of Schneider & Teyssier 2015. See the

The boost factor is applied multiplicatively so that \(P_{\rm bar.}(k, a) = P_{\rm DMO}(k, a)\, f_{\rm BCM}(k, a)\).

Parameters:
  • log10Mc (float) – logarithmic mass scale of hot gas suppression. Defaults to \(\log_{10}(1.2\,10^{14}\,M_\odot)\).

  • eta_b (float) – ratio of escape to ejection radii. Defaults to 0.5.

  • k_s (float) – Characteristic scale (wavenumber) of the stellar component in units of \(h\,{\rm Mpc}^{-1}\). Defaults to 55.

name = 'Schneider15'
boost_factor(cosmo, k, a)[source]

The BCM model boost factor for baryons.

Parameters:
  • cosmo (Cosmology) – Cosmological parameters.

  • k (float or array) – Wavenumber (in \({\rm Mpc}^{-1}\)).

  • a (float or array) – Scale factor.

Returns:

Correction factor to apply to the power spectrum.

Return type:

float or array

update_parameters(log10Mc=None, eta_b=None, k_s=None)[source]

Update BCM parameters. All parameters set to None will be left untouched.

Parameters:
  • log10Mc (float) – logarithmic mass scale of hot gas suppression.

  • eta_b (float) – ratio of escape to ejection radii.

  • k_s (float) – Characteristic scale (wavenumber) of the stellar component.