model.HydrostaticEquilibrium.from_dens_and_temp#
- classmethod HydrostaticEquilibrium.from_dens_and_temp(rmin, rmax, density, temperature, stellar_density=None, num_points=1000, **kwargs)#
Construct a hydrostatic equilibrium model using gas density and temperature 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.temperature (
RadialProfile
) – A radial profile describing the gas temperature.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.