radial_profiles.power_law_profile#

radial_profiles.power_law_profile(A, r_s, alpha)[source]#

A profile which is a power-law with radius, scaled so that it has a certain value A at a scale radius r_s. Can be used as a density, temperature, mass, or entropy profile (or whatever else one may need).

Parameters:
  • A (float) – Scale value of the profile at r = r_s.

  • r_s (float) – Scale radius in kpc.

  • alpha (float) – Power-law index of the profile.