dsf.modelling.baryons module¶
Baryonic modifications to halo occupation power-spectrum models.
- dsf.modelling.baryons.pk2d_hod_baryonified(cosmo, *, k_array, a_array, f_c=1.0, concentration=None, **hod_kwargs)[source]¶
Construct HOD power spectra with baryonic concentration rescaling.
- Parameters:
cosmo (Cosmology) – CCL cosmology.
k_array (NDArray[float64]) – Wavenumber grid.
a_array (NDArray[float64]) – Scale-factor grid.
f_c (float) – Multiplicative concentration rescaling.
concentration (Concentration | None) – Optional CCL concentration model. Defaults to Duffy08.
**hod_kwargs (Any) – HOD profile parameters.
- Returns:
Density-weighted galaxy-matter, galaxy-matter, and galaxy-galaxy spectra.
- Return type:
dict[str, Pk2D]