BondEfs

class hmf.density_field.transfer_models.BondEfs(cosmo, **model_parameters)[source]

Transfer function of Bond and Efstathiou.

Parameters:
  • cosmo (astropy.cosmology.FLRW instance) – The cosmology used in the calculation

  • **model_parameters (unpack-dict) – Parameters specific to this model. In this case, available parameters are the following: a, b, c, nu. To see their default values, check the _defaults class attribute.

Notes

The fit is given as

\[T(k) = \left[1 + (\tilde{a}k + (\tilde{b}k)^{3/2} + (\tilde{c}k)^2)^\nu\right]^{-1/\nu}\]

where \(\tilde{x} = x\alpha\) and

\[\alpha = \frac{0.3\times 0.75^2}{\Omega_{m,0} h^2}.\]

Methods

__init__(cosmo, **model_parameters)
classmethod get_models() dict[str, type]

Get a dictionary of all implemented models for this component.

lnt(lnk)[source]

Natural log of the transfer function.

Parameters:

lnk (array_like) – Wavenumbers [Mpc/h]

Returns:

lnt – The log of the transfer function at lnk.

Return type:

array_like