ZuMandelbaum15SmHm

class halotools.empirical_models.ZuMandelbaum15SmHm(prim_haloprop_key=u'halo_m200m', **kwargs)[source] [edit on github]

Bases: halotools.empirical_models.PrimGalpropModel

Stellar-to-halo-mass relation based on Zu and Mandelbaum 2015.

Note

The ZuMandelbaum15SmHm model is part of the zu_mandelbaum15 prebuilt composite HOD-style model. For a tutorial on the zu_mandelbaum15 composite model, see Zu & Mandelbaum et al. (2015) Composite Model.

Parameters:

prim_haloprop_key : string, optional

String giving the column name of the primary halo property governing stellar mass.

Notes

Note that the best-fit parameters of this model are based on the halo_m200m halo mass definition. Using alternative choices of mass definition will require altering the model parameters in order to mock up the same model published in Zu & Mandelbaum 2015. The Colossus python package written by Benedikt Diemer can be used to convert between different halo mass definitions. This may be useful if you wish to use an existing halo catalog for which the halo mass definition you need is unavailable.

Methods Summary

mean_halo_mass(stellar_mass, **kwargs) Return the halo mass of a central galaxy as a function of the stellar mass.
mean_scatter(**kwargs)
mean_stellar_mass(**kwargs) Return the stellar mass of a central galaxy as a function of the input table.
retrieve_default_param_dict()
Returns:
scatter_ln_mstar(halo_mass) Scatter in \({\rm ln M}_{\ast}\) as a function of halo mass.
scatter_realization(**kwargs) Monte Carlo realization of stellar mass stochasticity

Methods Documentation

mean_halo_mass(stellar_mass, **kwargs)[source] [edit on github]

Return the halo mass of a central galaxy as a function of the stellar mass.

Parameters:

stellar_mass : array

Array of stellar masses in h=1 solar mass units.

Returns:

halo_mass : array_like

Array of halo mass in h=1 solar mass units.

Examples

>>> from halotools.empirical_models import ZuMandelbaum15SmHm
>>> model = ZuMandelbaum15SmHm()
>>> halo_mass = model.mean_halo_mass(10**11)
mean_scatter(**kwargs)[source] [edit on github]
mean_stellar_mass(**kwargs)[source] [edit on github]

Return the stellar mass of a central galaxy as a function of the input table.

Parameters:

prim_haloprop : array, optional

Array of mass-like variable upon which occupation statistics are based. If prim_haloprop is not passed, then table keyword argument must be passed.

table : object, optional

Data table storing halo catalog. If table is not passed, then prim_haloprop keyword argument must be passed.

Returns:

stellar_mass : array_like

Array containing stellar masses living in the input table, in solar mass units assuming h = 1.

Examples

>>> from halotools.empirical_models import ZuMandelbaum15SmHm
>>> model = ZuMandelbaum15SmHm()
>>> stellar_mass = model.mean_stellar_mass(prim_haloprop=10**12)
retrieve_default_param_dict()[source] [edit on github]
Returns:

d : dict

Dictionary containing parameter values.

scatter_ln_mstar(halo_mass)[source] [edit on github]

Scatter in \({\rm ln M}_{\ast}\) as a function of halo mass.

Parameters:

halo_mass : array_like

Halo mass in units of Msun with h=1.

Returns:

scatter : array_like

Examples

>>> from halotools.empirical_models import ZuMandelbaum15SmHm
>>> model = ZuMandelbaum15SmHm()
>>> sigma = model.scatter_ln_mstar(1e12)
scatter_realization(**kwargs)[source] [edit on github]

Monte Carlo realization of stellar mass stochasticity