onepower.pk.Spectra.compute_matter_profile_with_feedback#

Spectra.compute_matter_profile_with_feedback(mass, mean_density0, u_dm, z, fnu)[source]#

Compute the matter profile including feedback as modelled by hmcode2020 (eq 25 of 2009.01858).

\(W(M, k) = [\Omega_{\rm c}/\Omega_{\rm m} + f_{\rm g}(M)] W(M, k) + f_{\star} M / \bar{\rho}\)

The parameter \(0 < f_{\star} < \Omega_{\rm b}/\Omega_{\rm m}\) can be thought of as an effective halo stellar mass fraction.

Table 4 and eq 26 of 2009.01858 defines as:

\(f_{\star}(z) = f_{\star, 0} 10^{(z f_{\star, z})}\)

This profile does not have \(1-f_{\nu}\) correction as that is already accounted for in dm_to_matter_frac