model.HydrostaticEquilibrium.from_dens_and_tden#

classmethod HydrostaticEquilibrium.from_dens_and_tden(rmin, rmax, density, total_density, stellar_density=None, num_points=1000, **kwargs)#

Construct a hydrostatic equilibrium model using gas density and total density profiles

Parameters:
  • rmin (float) – Minimum radius of profiles in kpc.

  • rmax (float) – Maximum radius of profiles in kpc.

  • density (RadialProfile) – A radial profile describing the gas mass density.

  • total_density (RadialProfile) – A radial profile describing the total mass density.

  • stellar_density (RadialProfile, optional) – A radial profile describing the stellar mass density, if desired.

  • num_points (integer, optional) – The number of points the profiles are evaluated at.