Power Spectrum (skypy.power_spectrum
)¶
This module contains methods to model the matter power spectrum.
SkyPy provides wrappers to a number of external codes for calculating the
matter power spectrum, including CAMB
and
CLASSY
. Here we demonstrate calculating the linear
matter power spectrum using eisenstein_hu
and the
non-linear corrections using halofit_smith
:
cosmology: !astropy.cosmology.default_cosmology.get []
wavenumber: !numpy.logspace [-3, 1, 100]
eisenstein_hu_wiggle: !skypy.power_spectrum.eisenstein_hu
wavenumber: $wavenumber
A_s: 2.1982e-09
n_s: 0.969453
cosmology: $cosmology
kwmap: 0.02
wiggle: True
halofit: !skypy.power_spectrum.halofit_smith
wavenumber: $wavenumber
redshift: 0.0
linear_power_spectrum: $eisenstein_hu_wiggle
cosmology: $cosmology
This module contains methods that model the matter power spectrum.
Linear Power Spectrum¶
CAMB linear matter power spectrum. |
|
Return the CLASS computation of the linear matter power spectrum, on a two dimensional grid of wavenumber and redshift. |
|
Eisenstein & Hu matter power spectrum. |
|
Eisenstein & Hu transfer function without wiggles. |
|
Eisenstein & Hu transfer function with wiggles. |
Nonlinear Power Spectrum¶
Computation of the non-linear halo power spectrum. |
|
Computation of the non-linear halo power spectrum. |
|
Computation of the non-linear halo power spectrum. |
|
Computation of the non-linear halo power spectrum. |
Growth Functions¶
Growth factor. |
|
Growth function. |
|
Growth function. |
|
First derivative of the growth function. |