vcirc_spherical_symmetry

deprojected_sersic_models.utils.vcirc_spherical_symmetry(R=None, menc=None)[source]

Determine vcirc for a spherically symmetric mass distribution:

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

  • menc (float or array_like) – Enclosed mass at the given radii [Msun]

Returns:

vcirc – Circular velocity as a function of radius [km/s]

Return type:

float or array_like