menc_spherical_symmetry

deprojected_sersic_models.utils.menc_spherical_symmetry(R=None, vcirc=None)[source]
Determine Menc for a spherically symmetric mass distribution, given vcirc:

Menc(R) = vcirc(R)^2 * R / G

\[\begin{split}M_{\mathrm{enc}}(R) = \\frac{v_{\mathrm{circ}}(R)^2 R}{G}\end{split}\]
Parameters:
  • R (float or array_like) – Radi[us/i] at which to calculate the enclosed mass [kpc]

  • vcirc (float or array_like) – Circular velocity at the given radii [km/s]

Returns:

menc – Enclosed mass as a function of radius [Msun]

Return type:

float or array_like