Power-law density spherical potential with an exponential cut-off¶
-
class
galpy.potential.
PowerSphericalPotentialwCutoff
(amp=1.0, alpha=1.0, rc=1.0, normalize=False)¶ Class that implements spherical potentials that are derived from power-law density models
\[\rho(r) = \frac{\mathrm{amp}}{r^\alpha}\,\exp\left(-(r/rc)^2\right)\]-
__init__
(amp=1.0, alpha=1.0, rc=1.0, normalize=False)¶ NAME:
__init__PURPOSE:
initialize a power-law-density potentialINPUT:
amp= amplitude to be applied to the potential (default: 1)
alpha= inner power
rc= cut-off radius
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.
OUTPUT:
(none)HISTORY:
2013-06-28 - Written - Bovy (IAS)
-