Classes
HalofitPower (cosmo, redshift) |
Nonlinear power spectrum computed using HaloFit via CLASS. |
nbodykit.cosmology.power.halofit.
HalofitPower
(cosmo, redshift)[source]¶Nonlinear power spectrum computed using HaloFit via CLASS.
Parameters: |
|
---|
cosmo
¶class:Cosmology – the object giving the cosmological parameters
sigma8
¶float – the z=0 amplitude of matter fluctuations
redshift
¶float – the redshift to compute the power at
Attributes
attrs |
The meta-data dictionary |
sigma8 |
The amplitude of matter fluctuations at \(z=0\). |
Methods
__call__ (k) |
Return the power in units of \(h^{-3} \mathrm{Mpc}^3\). |
__call__
(k)[source]¶Return the power in units of \(h^{-3} \mathrm{Mpc}^3\).
Parameters: | k (float, array_like) – the wavenumbers in units of \(h \mathrm{Mpc}^{-1}\) |
---|---|
Returns: | Pk – the linear power spectrum evaluated at k in units of
\(h^{-3} \mathrm{Mpc}^3\) |
Return type: | float, array_like |
attrs
¶The meta-data dictionary
sigma8
The amplitude of matter fluctuations at \(z=0\).