Hernquist potential

class galpy.potential.HernquistPotential(amp=1.0, a=1.0, normalize=False)

Class that implements the Hernquist potential

\[\rho(r) = \frac{\mathrm{amp}}{4\,\pi\,a^3}\,\frac{1}{(r/a)\,(1+r/a)^{3}}\]
__init__(amp=1.0, a=1.0, normalize=False)

NAME:

__init__

PURPOSE:

Initialize a Hernquist potential

INPUT:

amp - amplitude to be applied to the potential

a - “scale” (in terms of Ro)

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.

OUTPUT:

(none)

HISTORY:

2010-07-09 - Written - Bovy (NYU)