relations.rho_scale_hern#

relations.rho_scale_hern(M, rs)[source]#

Returns the correct scale density for a total density and scale length.

Parameters:
  • M (float) – The total mass

  • rs (float) – The scale radius

Return type:

float