# 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]

NAME:

__init__

PURPOSE:

initialize a circular ring potential

INPUT:

amp - mass of the ring (default: 1); can be a Quantity with units of mass or Gxmass

a= (0.75) radius of the ring (can be Quantity)

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

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

OUTPUT:

(none)

HISTORY:

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