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^{-2eta} f(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]

NAME:

__init__

PURPOSE:

Initialize a spherical DF with constant anisotropy parameter

INPUT:

pot= (None) Potential instance or list thereof

denspot= (None) Potential instance or list thereof that represent the density of the tracers (assumed to be spherical; if None, set equal to pot)

beta= (0.) anisotropy parameter

twobeta= (None) twice the anisotropy parameter (useful for eta = half-integer, which is a special case); has priority over beta

rmax= (None) maximum radius to consider (can be Quantity); DF is cut off at E = Phi(rmax)

scale - Characteristic scale radius to aid sampling calculations. Optionaland will also be overridden by value from pot if available.

ro=, vo= galpy unit parameters

OUTPUT:

None

HISTORY:

2021-02-14 - Written - Bovy (UofT)