Spherical Shell Potential¶

class
galpy.potential.
SphericalShellPotential
(amp=1.0, a=0.75, normalize=False, ro=None, vo=None)¶ Class that implements the potential of an infinitesimallythin, spherical shell
\[\rho(r) = \frac{\mathrm{amp}}{4\pi\,a^2}\,\delta(ra)\]with \(\mathrm{amp} = GM\) the mass of the shell.

__init__
(amp=1.0, a=0.75, normalize=False, ro=None, vo=None)¶ NAME:
__init__PURPOSE:
initialize a spherical shell potentialINPUT:
amp  mass of the shell (default: 1); can be a Quantity with units of mass or Gxmass
a= (0.75) radius of the shell (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 zero 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:
20180804  Written  Bovy (UofT)
