halomod.halo_model.HaloModel.power_hh¶
- HaloModel.power_hh(k, mmin=None, mmax=None, mmin2=None, mmax2=None)¶
The halo-centre power spectrum of haloes in a given mass range.
The power of a given pair of halo masses is assumed to be linearly biased, \(P_hh(k) = b(m_1)b(m_2)P_{lin}(k)\)
- Parameters
k (np.ndarray) – Array of wavenumbers. Units h/Mpc.
mmin (real, default
Mmin
) – The minimum halo mass of the range (for the first of the halo pairs). Note: masses here are log10 masses.mmax (real, default None) – The maximum halo mass of the range (for the first of the halo pairs). If a single halo mass is desired, set mmax==mmin.
mmin2 (real, default None) – The minimum halo mass of the range (for the second of the halo pairs). By default, takes the same value as mmin.
mmax – The maximum halo mass of the range (for the second of the halo pairs). By default, takes the same value as mmax.