Previous topic

Jaffe potential

Next topic

Hernquist potential

This Page

Flattened Power-law potential

Flattening is in the potential as in Evans (1994) rather than in the density

class galpy.potential.FlattenedPowerPotential(amp=1.0, alpha=1.0, q=1.0, core=1e-08, normalize=False)
Class that implements a power-law potential that is flattened in the potential (NOT the density)
amp
phi(R,z)=- —————- ; m^2 = R^2 + z^2/q^2
alpha m^lpha
__init__(amp=1.0, alpha=1.0, q=1.0, core=1e-08, normalize=False)

NAME:

__init__

PURPOSE:

initialize a flattened power-law potential

INPUT:

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

alpha - power

q - flattening

core - core 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-01-09 - Written - Bovy (IAS)