Leauthaud11Sats

class halotools.empirical_models.Leauthaud11Sats(threshold=10.5, prim_haloprop_key='halo_mvir', redshift=0.0, modulate_with_cenocc=True, cenocc_model=None, **kwargs)[source] [edit on github]

Bases: halotools.empirical_models.OccupationComponent

HOD-style model for any satellite galaxy occupation that derives from a stellar-to-halo-mass relation.

Note

The Leauthaud11Sats model is part of the leauthaud11 prebuilt composite HOD-style model. For a tutorial on the leauthaud11 composite model, see Leauthaud et al. (2011) Composite Model.

Parameters:

threshold : float, optional

Stellar mass threshold of the mock galaxy sample in h=1 solar mass units. Default value is specified in the model_defaults module.

prim_haloprop_key : string, optional

String giving the column name of the primary halo property governing the occupation statistics of gal_type galaxies. Default value is specified in the model_defaults module.

redshift : float, optional

Redshift of the stellar-to-halo-mass relation. Default is set in sim_defaults.

modulate_with_cenocc : bool, optional

If True, the first satellite moment will be multiplied by the the first central moment. Default is True.

cenocc_model : OccupationComponent, optional

If the cenocc_model keyword argument is set to its default value of None, then the \(\langle N_{\mathrm{cen}}\rangle_{M}\) prefactor will be calculated according to leauthaud11Cens.mean_occupation. However, if an instance of the OccupationComponent class is instead passed in via the cenocc_model keyword, then the first satellite moment will be multiplied by the mean_occupation function of the cenocc_model. The modulate_with_cenocc keyword must be set to True in order for the cenocc_model to be operative. See Advanced usage of the zheng07 model for further details.

Examples

>>> sat_model = Leauthaud11Sats()

Methods Summary

mean_occupation(**kwargs) Expected number of satellite galaxies in a halo of mass halo_mass.

Methods Documentation

mean_occupation(**kwargs)[source] [edit on github]

Expected number of satellite galaxies in a halo of mass halo_mass. See Equation 12-14 of arXiv:1103.2077.

Parameters:

prim_haloprop : array, optional

array of masses of table in the catalog

table : object, optional

Data table storing halo catalog.

Returns:

mean_nsat : array

Mean number of satellite galaxies in the halo of the input mass.

Notes

Assumes constant scatter in the stellar-to-halo-mass relation.

Examples

>>> sat_model = Leauthaud11Sats()
>>> mean_nsat = sat_model.mean_occupation(prim_haloprop = 1.e13)