Previous topic

Logarithmic halo potential

Next topic

NFW potential

This Page

Miyamoto-Nagai potential

class galpy.potential.MiyamotoNagaiPotential(amp=1.0, a=0.0, b=0.0, normalize=False)
Class that implements the Miyamoto-Nagai potential
amp
phi(R,z) = - ———————————
sqrt(R^2+(a+sqrt(z^2+b^2))^2)
__init__(amp=1.0, a=0.0, b=0.0, normalize=False)

NAME:

__init__

PURPOSE:

initialize a Miyamoto-Nagai potential

INPUT:

amp - amplitude to be applied to the potential (default: 1)

a - “disk scale” (in terms of Ro)

b - “disk height” (in terms of Ro)

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:

2010-07-09 - Started - Bovy (NYU)