Phase Space Component Models

All of these can be imported from halotools.empirical_models.

Halo Mass Definitions

halo_mass_to_halo_radius(mass, cosmology, …) Spherical overdensity radius as a function of the input mass.
halo_radius_to_halo_mass(radius, cosmology, …) Spherical overdensity mass as a function of the input radius.
delta_vir(cosmology, redshift) The virial overdensity in units of the critical density, using the fitting formula of Bryan & Norman 1998, assuming \(\Omega_{\Lambda} = 0.\)
density_threshold(cosmology, redshift, mdef) The threshold density for a given spherical-overdensity mass definition.

NFW Profile Models

NFWProfile([cosmology, H0, Om0, Tcmb0, …]) Model for the spatial distribution of mass and/or galaxies residing in an NFW halo profile, based on Navarro, Frenk and White (1995), arXiv:9508025.
NFWPhaseSpace(**kwargs) Model for the phase space distribution of mass and/or galaxies in isotropic Jeans equilibrium in an NFW halo profile, based on Navarro, Frenk and White (1995), where the concentration of the galaxies is the same as the concentration of the parent halo

Subhalo-based Profiles

SubhaloPhaseSpace(gal_type, host_haloprop_bins) Class using subhalo information to model the phase space of satellite galaxies.

Central Galaxy Profile Models

TrivialProfile([cosmology, H0, Om0, Tcmb0, …]) Profile of dark matter halos with all their mass concentrated at exactly the halo center.
TrivialPhaseSpace([cosmology, H0, Om0, …]) Profile of central galaxies residing at the exact center of their host halo with the exact same velocity as the halo velocity.

Monte Carlo Realizations of Galaxy Profiles

NFWPhaseSpace.mc_generate_nfw_phase_space_points([…]) Return a Monte Carlo realization of points in the phase space of an NFW halo in isotropic Jeans equilibrium.
NFWProfile.mc_generate_nfw_radial_positions(…) Return a Monte Carlo realization of points in an NFW profile.