skypy.power_spectrum.transfer_with_wiggles

skypy.power_spectrum.transfer_with_wiggles(wavenumber, A_s, n_s, cosmology, kwmap=0.02)[source] [edit on github]

Eisenstein & Hu transfer function with wiggles. This function returns the Eisenstein & Hu fitting formula for the transfer function with baryon acoustic oscillation wiggles. This is described in [1] and [2].

Parameters:
wavenumber(nk,) array_like

Array of wavenumbers in units of Mpc-1 at which to evaluate the linear matter power spectrum.

cosmologyastropy.cosmology.Cosmology

Cosmology object providing omega_matter, omega_baryon, Hubble parameter and CMB temperature at the present day.

A_s, n_s: float

Amplitude and spectral index of primordial scalar fluctuations.

kwmapfloat

WMAP normalization for the amplitude of primordial scalar fluctuations, as described in [3], in units of Mpc-1. Default is 0.02.

Returns:
transfer(nk,) array_like

Transfer function evaluated at the given array of wavenumbers for the input primordial power spectrum parameters A_s and n_s, cosmology and kwmap normalization.

References

[1]

Eisenstein D. J., Hu W., ApJ, 496, 605 (1998)

[2]

Eisenstein D. J., Hu W., ApJ, 511, 5 (1999)

[3]

Komatsu et al., ApJS, 180, 330 (2009)