Spherical Dehnen potential¶
- class galpy.potential.DehnenSphericalPotential(amp=1.0, a=1.0, alpha=1.5, normalize=False, ro=None, vo=None)[source]¶
Class that implements the Dehnen Spherical Potential from Dehnen (1993)
\[\rho(r) = \frac{\mathrm{amp}(3-\alpha)}{4\,\pi\,a^3}\,\frac{1}{(r/a)^{\alpha}\,(1+r/a)^{4-\alpha}}\]- __init__(amp=1.0, a=1.0, alpha=1.5, normalize=False, ro=None, vo=None)[source]¶
NAME:
__init__
PURPOSE:
initialize a Dehnen Spherical Potential; note that the amplitude definition used here does NOT match that of Dehnen (1993)
INPUT:
amp - amplitude to be applied to the potential (default: 1); can be a Quantity with units of mass or Gxmass
a - scale radius (can be Quantity)
alpha - inner power, restricted to [0, 3)
normalize - if True, normalize such that vc(1.,0.)=1., or, if given as a number, such that the force is this fraction of the force necessary to make vc(1.,0.)=1.
ro=, vo= distance and velocity scales for translation into internal units (default from configuration file)
OUTPUT:
(none)
HISTORY:
2019-10-07 - Started - Starkman (UofT)