radial_profiles.find_radius_mass#

radial_profiles.find_radius_mass(m_r, delta, z=0.0, cosmo=None)[source]#

Given a mass profile and an overdensity, find the radius and mass (e.g. M200, r200)

Parameters:
  • m_r (RadialProfile) – The mass profile.

  • delta (float) – The overdensity to compute the mass and 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.