model.HydrostaticEquilibrium.no_gas#
- classmethod HydrostaticEquilibrium.no_gas(rmin, rmax, total_density, stellar_density=None, num_points=1000, **kwargs)#
Initialize a
model.ClusterModelwhich is composed only of collisionless species.- Parameters:
rmin (
float) – Minimum radius of profiles in kpc.rmax (
float) – Maximum radius of profiles in kpc.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.kwargs – Additional keywords to pass to the properties of the resulting instance.
- Return type: