Previous topic

Power-law density spherical potential

Next topic

galpy.potential.planarPotential.__call__

This Page

Razor-thin exponential disk potential

class galpy.potential.RazorThinExponentialDiskPotential(amp=1.0, ro=1.0, hr=0.3333333333333333, maxiter=20, tol=0.001, normalize=False, new=True, glorder=100)

Class that implements the razor-thin exponential disk potential rho(R,z) = rho_0 e^-R/h_R delta(z)

__init__(amp=1.0, ro=1.0, hr=0.3333333333333333, maxiter=20, tol=0.001, normalize=False, new=True, glorder=100)

NAME:

__init__

PURPOSE:

initialize a razor-thin-exponential disk potential

INPUT:

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

hr - disk scale-length in terms of ro

tol - relative accuracy of potential-evaluations

maxiter - scipy.integrate keyword

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:

RazorThinExponentialDiskPotential object

HISTORY:

2012-12-27 - Written - Bovy (IAS)