onepower.hod.HaloOccupationDistribution#
- class onepower.hod.HaloOccupationDistribution(cosmo=None, mass=None, dndlnm=None, halo_bias=None, z_vec=None, hod_settings=None, **model_parameters)[source]#
Base class for Halo Occupation Distribution (HOD) models. This class provides the framework for computing various properties of galaxies within dark matter halos.
Methods
__init__
([cosmo, mass, dndlnm, halo_bias, ...])Get a dictionary of all implemented models for this component.
Attributes
Compute the average halo mass for galaxies.
Compute the average halo mass for central galaxies.
Compute the average halo mass for satellite galaxies.
Returns the z_bins, obs_min and obs_max quantities from tabulated observables file.
Returns the interpolated halo mass function at HOD specific redshifts.
Fraction of central galaxies.
Fraction of satellite galaxies.
Compute the galaxy linear bias for galaxies.
Compute the galaxy linear bias for central galaxies.
Compute the galaxy linear bias for satellite galaxies.
Returns the interpolated halo bias function at HOD specific redshifts.
Compute the HOD for galaxies.
Compute the HOD for central galaxies.
Compute the HOD for satellite galaxies.
Sets the max observable limits.
Sets the min observable limits.
Returns the number of HOD bins.
Sets the number of observables in the observable array.
Compute the number density of galaxies.
Compute the number density of central galaxies.
Compute the number density of satellite galaxies.
Sets the number of redshift bins.
Returns the array of observables at which to calculate the CSMF/CLF and integrate over to get the HOD
Compute the stellar fraction for galaxies.
Compute the stellar fraction for central galaxies.
Compute the stellar fraction for satellite galaxies.
Sets the HOD specific redshift array.