Bases: halotools.halo_occupation.HOD_Model
Subclass of HOD_Model object, where functional forms for occupation statistics are taken from Leauthaud et al. 2011 arXiv:1103.2077
Parameters: | parameter_dict : dictionary, optional.
|
---|
Notes
relation is current set to be Anatoly’s.
Attributes Summary
primary_halo_property_key | Model is based on ![]() |
Methods Summary
mean_concentration(logM, halo_type) | Concentration-mass relation of the model. |
mean_ncen(logM, halo_type) | Expected number of central galaxies in a halo of mass logM. |
mean_nsat(logM, halo_type) | Expected number of satellite galaxies in a halo of mass logM. |
mh2ms(mh) | Converts Halo mass to Stellar mass by inverting SHMR :Parameters: mh : array_like array of stellar mass :Returns: ms : array_like array of halo masses corresponding to the input stellar masses. |
mh2ms_funct(ms, mh) | Function for brentq |
ms2mh(ms) | Converts Stellar mass to Mhalo using SHMR Input is stellar mass in log10 units Output is Mh in log units :Parameters: ms : array_like array of stellar mass :Returns: mh : array_like array of halo masses corresponding to the input stellar masses. |
published_parameters([threshold]) | Best-fit HOD parameters from Table 5 of Leauthaud et al. |
require_correct_keys() | If a parameter dictionary is passed to the class upon instantiation, this method is used to enforce that the set of keys is in accord with the set of keys required by the model. |
Attributes Documentation
Model is based on .
Methods Documentation
Concentration-mass relation of the model.
Parameters: | logM : array_like
halo_type : array
|
---|---|
Returns: | concentrations : array_like
|
Expected number of central galaxies in a halo of mass logM. See Equation 8 of arXiv:1103.2077
Parameters: | logM : array
halo_type : array
|
---|---|
Returns: | mean_ncen : array |
Notes
Mean number of central galaxies in a host halo of the specified mass.
Expected number of satellite galaxies in a halo of mass logM. See Equation 12 of arXiv:1103.2077
Parameters: | logM : array
halo_type : array
|
---|---|
Returns: | mean_nsat : float or array
|
Converts Halo mass to Stellar mass by inverting SHMR
Parameters: | mh : array_like
|
---|---|
Returns: | ms : array_like
|
Function for brentq Returns SHMR-Mh
Converts Stellar mass to Mhalo using SHMR Input is stellar mass in log10 units Output is Mh in log units
Parameters: | ms : array_like
|
---|---|
Returns: | mh : array_like
|
Best-fit HOD parameters from Table 5 of Leauthaud et al. 2012. For the second redshift bin.
Parameters: | threshold : float
|
---|---|
Returns: | parameter_dict : dict
|
If a parameter dictionary is passed to the class upon instantiation, this method is used to enforce that the set of keys is in accord with the set of keys required by the model.