jax_cosmo.transfer module

jax_cosmo.transfer.Eisenstein_Hu(cosmo, k, type='eisenhu_osc')[source]

Computes the Eisenstein & Hu matter transfer function.

Parameters:
  • cosmo (Background) – Background cosmology
  • k (array_like) – Wave number in h Mpc^{-1}
  • type (str, optional) – Type of transfer function. Either ‘eisenhu’ or ‘eisenhu_osc’ (def: ‘eisenhu_osc’)
Returns:

T – Value of the transfer function at the requested wave number

Return type:

array_like

Notes

The Eisenstein & Hu transfer functions are computed using the fitting formulae of :cite:`1998:EisensteinHu`