Arbitrary constant-anisotropy DF¶
- class galpy.df.constantbetadf(pot=None, denspot=None, beta=0.0, twobeta=None, rmax=None, scale=None, ro=None, vo=None)[source]¶
Class that implements DFs of the form \(f(E,L) = L^{-2\beta} f_1(E)\) with constant \(\beta\) anisotropy parameter for a given density profile
- __init__(pot=None, denspot=None, beta=0.0, twobeta=None, rmax=None, scale=None, ro=None, vo=None)[source]¶
Initialize a spherical DF with constant anisotropy parameter
- Parameters:
pot (Potential instance or list thereof, optional) – Potential instance or list thereof
denspot (Potential instance or list thereof, optional) – Potential instance or list thereof that represent the density of the tracers (assumed to be spherical; if None, set equal to pot)
beta (float, optional) – anisotropy parameter
twobeta (float, optional) – twice the anisotropy parameter (useful for eta = half-integer, which is a special case); has priority over beta
rmax (float or Quantity, optional) – maximum radius to consider; DF is cut off at E = Phi(rmax)
scale (float or Quantity, optional) – Characteristic scale radius to aid sampling calculations. Optional and will also be overridden by value from pot if available.
ro (float or Quantity, optional) – Distance scale for translation into internal units (default from configuration file).
vo (float or Quantity, optional) – Velocity scale for translation into internal units (default from configuration file).
Notes
2021-02-14 - Written - Bovy (UofT)