Perfect Ellipsoid potential

class galpy.potential.PerfectEllipsoidPotential(amp=1.0, a=5.0, b=1.0, c=1.0, zvec=None, pa=None, glorder=50, normalize=False, ro=None, vo=None)[source]

Potential of the perfect ellipsoid (de Zeeuw 1985):

\[\rho(x,y,z) = \frac{\mathrm{amp\,a}}{\pi^2\,bc}\,\frac{1}{(m^2+a^2)^2}\]

where \(\mathrm{amp} = GM\) is the total mass and \(m^2 = x^2+y^2/b^2+z^2/c^2\).

__init__(amp=1.0, a=5.0, b=1.0, c=1.0, zvec=None, pa=None, glorder=50, normalize=False, ro=None, vo=None)[source]

NAME:

__init__

PURPOSE:

initialize a perfect ellipsoid potential

INPUT:

amp - amplitude to be applied to the potential (default: 1); can be a Quantity with units of mass or G x mass

a - scale radius (can be Quantity)

b - y-to-x axis ratio of the density

c - z-to-x axis ratio of the density

zvec= (None) If set, a unit vector that corresponds to the z axis

pa= (None) If set, the position angle of the x axis (rad or Quantity)

glorder= (50) if set, compute the relevant force and potential integrals with Gaussian quadrature of this order

ro=, vo= distance and velocity scales for translation into internal units (default from configuration file)

OUTPUT:

(none)

HISTORY:

2018-08-06 - Started - Bovy (UofT)