Contents:
Tutorials:
Dysmalpy
Enclosed mass as a function of r for a generic sersic model
r (float or array) – Radius or radii at which to calculate the surface mass density
mass (float) – Total mass of the Sersic component
n (float) – Sersic index
r_eff (float) – Effective radius
menc – Enclosed mass as a function of r
r
float or array
Notes
This function is only valid in the case of an infinite cylinder