radial_profiles.find_overdensity_radius#

radial_profiles.find_overdensity_radius(m, delta, z=0.0, cosmo=None)[source]#

Given a mass value and an overdensity, find the radius that corresponds to that enclosed mass.

Parameters:
  • m (float) – The enclosed mass.

  • delta (float) – The overdensity to compute the radius for.

  • z (float, optional) – The redshift of the halo formation. Default: 0.0

  • cosmo (yt ``Cosmology` object`) – The cosmology to be used when computing the critical density. If not supplied, a default one from yt will be used.