halomod.hod.Constant

class halomod.hod.Constant(**model_parameters)[source]

Bases: HODBulk

A toy model HOD in which every halo has the same amount of the tracer on average.

central_condition_inherent = False
central_occupation(m)

The occupation function of the central component.

cs_pairs(m)

The average amount of the tracer coupled with itself in haloes of mass m, <T_s T_c>.

classmethod get_models() Dict[str, Type]

Get a dictionary of all implemented models for this component.

property mmin

Defines a reasonable minimum mass to set for this HOD to converge when integrated.

nc(m)

Density of Central Tracer.

ns(m)

Density of Satellite Tracer.

satellite_occupation(m)

The occupation function of the satellite (or profile-dependent) component.

sharp_cut = False
sigma_central(m)

The standard deviation of the central tracer amount in haloes of mass m.

sigma_satellite(m)[source]

The standard deviation of the satellite tracer amount in haloes of mass m.

ss_pairs(m)

The average amount of the tracer coupled with itself in haloes of mass m, <T_s T_s>.

total_occupation(m)

The total (average) occupation of the halo.

total_pair_function(m)

The total weight of the occupation paired with itself.

unit_conversion(cosmo, z)

A factor to convert the total occupation to a desired unit.