Ring potential

class galpy.potential.RingPotential(amp=1.0, a=0.75, normalize=False, ro=None, vo=None)[source]

Class that implements the potential of an infinitesimally-thin, circular ring

\[\rho(R,z) = \frac{\mathrm{amp}}{2\pi\,R_0}\,\delta(R-R_0)\,\delta(z)\]

with \(\mathrm{amp} = GM\) the mass of the ring.

__init__(amp=1.0, a=0.75, normalize=False, ro=None, vo=None)[source]

Class that implements a circular ring potential.

Parameters:
  • amp (float or Quantity, optional) – Mass of the ring (default: 1); can be a Quantity with units of mass or Gxmass.

  • a (float or Quantity, optional) – Radius of the ring (default: 0.75).

  • 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.; note that because the force is always positive at r < a, this does not work if a > 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).

Notes

  • 2018-08-04 - Written - Bovy (UofT)