Classes
CLASS(cosmo, redshift) |
The linear matter transfer function using the CLASS Boltzmann code. |
EisensteinHu(cosmo, redshift) |
The linear matter transfer function using the Eisenstein & Hu (1998) fitting formula with BAO wiggles. |
NoWiggleEisensteinHu(cosmo, redshift) |
Linear power spectrum using the Eisenstein & Hu (1998) fitting formula without BAO wiggles. |
nbodykit.cosmology.power.transfers.CLASS(cosmo, redshift)[source]¶The linear matter transfer function using the CLASS Boltzmann code.
| Parameters: |
|
|---|
Methods
__call__(k) |
Return the CLASS linear transfer function at redshift. |
__call__(k)[source]¶Return the CLASS linear transfer function at redshift. This
computes the transfer function from the CLASS linear power spectrum
using:
We normalize the transfer function \(T(k)\) to unity as \(k \rightarrow 0\) at \(z=0\).
| Parameters: | k (float, array_like) – the wavenumbers in units of \(h \mathrm{Mpc}^{-1}\) |
|---|---|
| Returns: | Tk – the transfer function evaluated at k, normalized to unity on
large scales |
| Return type: | float, array_like |
nbodykit.cosmology.power.transfers.EisensteinHu(cosmo, redshift)[source]¶The linear matter transfer function using the Eisenstein & Hu (1998) fitting formula with BAO wiggles.
| Parameters: |
|
|---|
References
Eisenstein & Hu, “Baryonic Features in the Matter Transfer Function”, 1998
Methods
__call__(k) |
Return the Eisenstein-Hu transfer function with BAO wiggles. |
__call__(k)[source]¶Return the Eisenstein-Hu transfer function with BAO wiggles.
This is normalized to unity as \(k \rightarrow 0\) at \(z=0\).
The redshift scaling is provided by the
Cosmology.scale_independent_growth_factor() function.
| Parameters: | k (float, array_like) – the wavenumbers in units of \(h \mathrm{Mpc}^{-1}\) |
|---|---|
| Returns: | Tk – the transfer function evaluated at k, normalized to unity on
large scales |
| Return type: | float, array_like |
nbodykit.cosmology.power.transfers.NoWiggleEisensteinHu(cosmo, redshift)[source]¶Linear power spectrum using the Eisenstein & Hu (1998) fitting formula without BAO wiggles.
| Parameters: |
|
|---|
References
Eisenstein & Hu, “Baryonic Features in the Matter Transfer Function”, 1998
Methods
__call__(k) |
Return the Eisenstein-Hu transfer function without BAO wiggles. |
__call__(k)[source]¶Return the Eisenstein-Hu transfer function without BAO wiggles.
This is normalized to unity as \(k \rightarrow 0\) at \(z=0\).
The redshift scaling is provided by the
scale_independent_growth_factor() function.
| Parameters: | k (float, array_like) – the wavenumbers in units of \(h \mathrm{Mpc}^{-1}\) |
|---|---|
| Returns: | Tk – the transfer function evaluated at k, normalized to unity on
large scales |
| Return type: | float, array_like |