radial_profiles.nfw_scale_density#
- radial_profiles.nfw_scale_density(conc, z=0.0, delta=200.0, cosmo=None)[source]#
Compute a scale density parameter for an NFW profile [NaFrW90] given a concentration parameter, and optionally a redshift, overdensity, and cosmology.
- Parameters:
conc (
float
) – The concentration parameter for the halo, which should correspond the selected overdensity (which has a default of 200).z (
float
, optional) – The redshift of the halo formation. Default: 0.0delta (
float
, optional) – The overdensity parameter for which the concentration is defined. Default: 200.0cosmo (
yt Cosmology object
) – The cosmology to be used when computing the critical density. If not supplied, a default one from yt will be used.
- Returns:
The corresponding radial profile object.
- Return type: