onepower.hod.Cacciato#

class onepower.hod.Cacciato(cosmo=None, mass=None, dndlnm=None, halo_bias=None, z_vec=None, hod_settings=None, **model_parameters)[source]#

CSMF/CLF model from Cacciato et al. (2013) [1]_.

The conditional observable functions (COFs) tell us how many galaxies with the observed property O, exist in haloes of mass M: \(\Phi(O|M)\).

Integrating over the observable will give us the total number of galaxies in haloes of a given mass, the so-called Halo Occupation Distribution (HOD).

The observable can be galaxy stellar mass or galaxy luminosity or possibly other properties of galaxies. Note that the general mathematical form of the COFs might not hold for other observables.

COF is different for central and satellite galaxies. The total COF can be written as the sum of the two:

\(\Phi(O|M) = \Phi_{\rm c}(O|M) + \Phi_{\rm s}(O|M)\)

The halo mass dependence comes in through pivot observable values denoted by \(\star\), e.g. \(O_{\star, {\rm c}}\), \(O_{\star, {\rm s}}\)

Methods

__init__([cosmo, mass, dndlnm, halo_bias, ...])

get_models()

Get a dictionary of all implemented models for this component.

Attributes

COF

Total COF, sum of central and satellite COFs.

COF_cen

COF for Central galaxies.

COF_sat

COF for satellite galaxies.

M_char

Return the 10.**log10_m_ch

Obs_norm_c

Return the 10.**log10_obs_norm_c

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.

cal_mean_obs_c

Stellar to halo mass relation (observable to halo mass relation).

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

obs_func

The observable function (SMF/LF).

obs_func_cen

The observable function (SMF/LF) for central galaxies.

obs_func_sat

The observable function (SMF/LF) for satellite galaxies.

phi_star_s

Normalisation of satellite COF function.

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.