Logarithmic halo potential¶
-
class
galpy.potential.
LogarithmicHaloPotential
(amp=1.0, core=1e-08, q=1.0, normalize=False, ro=None, vo=None)¶ Class that implements the logarithmic halo potential
\[\Phi(R,z) = \frac{\mathrm{amp}}{2}\,\ln\left(R^2+(z/q)^2+\mathrm{core}^2\right)\]-
__init__
(amp=1.0, core=1e-08, q=1.0, normalize=False, ro=None, vo=None)¶ NAME:
__init__PURPOSE:
initialize a Logarithmic Halo potentialINPUT:
amp - amplitude to be applied to the potential (default: 1); can be a Quantity with units of velocity-squared
core - core radius at which the logarithm is cut (can be Quantity)
q - potential flattening (z/q)**2.
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:
2010-04-02 - Started - Bovy (NYU)
-