onepower.hod.Simple#

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

Simple HOD model

Methods

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

get_models()

Get a dictionary of all implemented models for this component.

Attributes

Mmin

Return the Mmin parameter in the correct shape and units.

Msat

Return the Msat parameter in the correct shape and units.

alpha

Slope parameter for satellite galaxies.

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.

log10_Mmin

Log10 of the minimum mass for central galaxies.

log10_Msat

Log10 of the minimum mass 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.