radial_profiles.hernquist_mass_profile#

radial_profiles.hernquist_mass_profile(M_0, a)[source]#

A Hernquist mass profile [Hern90].

Parameters:
  • M_0 (float) – The total mass in Msun.

  • a (float) – The scale radius in kpc.

Returns:

The corresponding radial profile object.

Return type:

RadialProfile