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_models()

Get a dictionary of all implemented models for this component.

Attributes

avg_halo_mass

Compute the average halo mass for galaxies.

avg_halo_mass_cen

Compute the average halo mass for central galaxies.

avg_halo_mass_sat

Compute the average halo mass for satellite galaxies.

data

Returns the z_bins, obs_min and obs_max quantities from tabulated observables file.

dndlnm_int

Returns the interpolated halo mass function at HOD specific redshifts.

f_c

Fraction of central galaxies.

f_s

Fraction of satellite galaxies.

galaxy_linear_bias

Compute the galaxy linear bias for galaxies.

galaxy_linear_bias_cen

Compute the galaxy linear bias for central galaxies.

galaxy_linear_bias_sat

Compute the galaxy linear bias for satellite galaxies.

halo_bias_int

Returns the interpolated halo bias function at HOD specific redshifts.

hod

Compute the HOD for galaxies.

hod_cen

Compute the HOD for central galaxies.

hod_sat

Compute the HOD for satellite galaxies.

log_obs_max

Sets the max observable limits.

log_obs_min

Sets the min observable limits.

nbins

Returns the number of HOD bins.

nobs

Sets the number of observables in the observable array.

number_density

Compute the number density of galaxies.

number_density_cen

Compute the number density of central galaxies.

number_density_sat

Compute the number density of satellite galaxies.

nz

Sets the number of redshift bins.

obs

Returns the array of observables at which to calculate the CSMF/CLF and integrate over to get the HOD

stellar_fraction

Compute the stellar fraction for galaxies.

stellar_fraction_cen

Compute the stellar fraction for central galaxies.

stellar_fraction_sat

Compute the stellar fraction for satellite galaxies.

z

Sets the HOD specific redshift array.