Arbitrary razor-thin, axisymmetric potential¶
- class galpy.potential.AnyAxisymmetricRazorThinDiskPotential(surfdens=<function AnyAxisymmetricRazorThinDiskPotential.<lambda>>, amp=1.0, normalize=False, ro=None, vo=None)[source]¶
Class that implements the potential of an arbitrary axisymmetric, razor-thin disk with surface density \(\Sigma(R)\)
- __init__(surfdens=<function AnyAxisymmetricRazorThinDiskPotential.<lambda>>, amp=1.0, normalize=False, ro=None, vo=None)[source]¶
NAME:
__init__
PURPOSE:
Initialize the potential of an arbitrary axisymmetric disk
INPUT:
surfdens= (1.5 e^[-R/0.3]) function of a single variable that gives the surface density as a function of radius (can return a Quantity)
amp= (1.) amplitude to be applied to the potential
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.
ro=, vo= distance and velocity scales for translation into internal units (default from configuration file)
OUTPUT:
AnyAxisymmetricRazorThinDiskPotential object
HISTORY:
2021-01-04 - Written - Bovy (UofT)