EH_BAO

class hmf.density_field.transfer_models.EH_BAO(*args, **kwargs)[source]

Eisenstein & Hu (1998) fitting function with BAO wiggles.

From EH1998, Eqs. 26,28-31. Code adapted from CHOMP.

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

  • **model_parameters (unpack-dict) – Parameters specific to this model. In this case, there are no model parameters.

Attributes

k_peak

The k_peak parameter from EH1998, Eq. 29, in units of Mpc^-1 (no h).

references: ClassVar[tuple[str, ...]] = ('Eisenstein, D. J., Hu, W., 1998. ApJ 496, 605. arXiv:astro-ph/9709112',)

References to cite when this model is used, each a formatted citation string. Subclasses inherit their parent’s references unless they set their own.

sound_horizon_fit

Sound horizon in Mpc/h.

Methods

classmethod get_models() → Mapping[str, type]

Get a read-only mapping of all implemented models for this component.

The mapping is a live view of the registry, so it shows models registered later, but it can not be used to add or remove models.

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