sersic_mr

dysmalpy.models.sersic_mr(r, mass, n, r_eff)[source]

Radial surface mass density function for a generic sersic model

Parameters:
  • 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

Returns:

mr – Surface mass density as a function of r

Return type:

float or array