King DF¶
-
class
galpy.df.
kingdf
(W0, M=1.0, rt=1.0, npt=1001, ro=None, vo=None)[source]¶ Class that represents a King DF
-
__init__
(W0, M=1.0, rt=1.0, npt=1001, ro=None, vo=None)[source]¶ NAME:
__init__PURPOSE:
Initialize a King DFINPUT:
W0 - dimensionless central potential W0 = Psi(0)/sigma^2 (in practice, needs to be <~ 200, where the DF is essentially isothermal)
M= (1.) total mass (can be a Quantity)
rt= (1.) tidal radius (can be a Quantity)
npt= (1001) number of points to use to solve for Psi(r)
ro=, vo= standard galpy unit scaling parameters
OUTPUT:
(none; sets up instance)HISTORY:
2020-07-09 - Written - Bovy (UofT)
-