Razor-thin exponential disk potential

class galpy.potential.RazorThinExponentialDiskPotential(amp=1.0, hr=0.3333333333333333, normalize=False, ro=None, vo=None, new=True, glorder=100)[source]

Class that implements the razor-thin exponential disk potential

\[\rho(R,z) = \mathrm{amp}\,\exp\left(-R/h_R\right)\,\delta(z)\]
__init__(amp=1.0, hr=0.3333333333333333, normalize=False, ro=None, vo=None, new=True, glorder=100)[source]

Class that implements a razor-thin exponential disk potential.

Parameters:
  • amp (float or Quantity, optional) – Amplitude to be applied to the potential (default: 1); can be a Quantity with units of surface-mass or Gxsurface-mass.

  • hr (float or Quantity, optional) – Disk scale-length.

  • normalize (bool or float, optional) – 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 (float or Quantity, optional) – Distance scale for translation into internal units (default from configuration file).

  • vo (float or Quantity, optional) – Velocity scale for translation into internal units (default from configuration file).

  • new (bool, optional) – If True, use a new implementation of the potential that is more accurate for small scale lengths (default: True).

  • glorder (int, optional) – Gaussian quadrature order to use for numerical integration (default: 100).

Notes

  • 2012-12-27 - Written - Bovy (IAS)