target.host#
- skysurvey.target.host.get_sfr_as_function_of_mass_and_redshift(mass, redshift)[source]#
Get the star formation rate as a function of mass and redshift.
This is based on equation A.7 from Childress et al. 2014, used in Wiseman et al. 2021.
- skysurvey.target.host.get_schechterpdf(mass, mstar, alpha, phi, alpha2=None, phi2=None)[source]#
Get the Schechter probability density function.
- Parameters:
mass (float or array) – Stellar mass value(s) at which to evaluate the Schechter function.
mstar (float or array) – Characteristic stellar mass defining the exponential cutoff at higher masses.
alpha (float) – Low-mass end slope of the Schechter function.
phi (float) – Normalization of the Schechter function.
alpha2 (None, float, optional) – Second low-mass end slope (for double Schechter). By default None.
phi2 (None, float, optional) – Second normalization of the Schechter function (for double Schechter). By default None.
- Returns:
The single or double Schechter pdf.
- Return type:
float or array