hmf.density_field.filters.SharpK.mass_to_radius

SharpK.mass_to_radius(m, rho_mean)[source]

Return radius of a region of space given its mass.

Parameters
  • m (array_like) – Masses

  • rho_mean (float) – Mean density of the Universe.

Returns

r – The corresponding radii to m

Return type

array_like

Notes

The units of m don’t matter as long as they are consistent with rho_mean.