hmf.halos.mass_definitions.SOCritical¶
- class hmf.halos.mass_definitions.SOCritical(**model_params)[source]¶
A mass definition based on spherical overdensity wrt critical density.
Methods
__init__
(**model_params)Initialize self.
change_definition
(m, mdef[, profile, c, z, …])Change the spherical overdensity mass definition.
critical_density
([z, cosmo, Om0, Tcmb0, …])Get the critical density of the Universe at redshift z, units h^2 Msun / Mpc^3.
Get a dictionary of all implemented models for this component.
halo_density
([z, cosmo, Om0, Tcmb0, Neff, …])The density of haloes under this definition.
halo_overdensity_crit
([z, cosmo, Om0, …])halo_overdensity_mean
([z, cosmo, Om0, …])m_to_r
(m[, z, cosmo, Om0, Tcmb0, Neff, …])Return the radius corresponding to m for this mass definition
mean_density
([z, cosmo, Om0, Tcmb0, Neff, …])Get the mean density of the Universe at redshift z, units h^2 Msun / Mpc^3.
r_to_m
(r[, z, cosmo, Om0, Tcmb0, Neff, …])Return the mass corresponding to r for this mass definition
Attributes
The name of the mass definition in Colossus format, if applicable.