Previous topic

galpy.potential.vterm

Next topic

Double power-law density spherical potential

This Page

Double exponential disk potential

class galpy.potential.DoubleExponentialDiskPotential(amp=1.0, ro=1.0, hr=0.3333333333333333, hz=0.0625, maxiter=20, tol=0.001, normalize=False, new=True, kmaxFac=2.0, glorder=10)

Class that implements the double exponential disk potential rho(R,z) = rho_0 e^-R/h_R e^-|z|/h_z

__init__(amp=1.0, ro=1.0, hr=0.3333333333333333, hz=0.0625, maxiter=20, tol=0.001, normalize=False, new=True, kmaxFac=2.0, glorder=10)

NAME:

__init__

PURPOSE:

initialize a double-exponential disk potential

INPUT:

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

hr - disk scale-length in terms of ro

hz - scale-height

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:

DoubleExponentialDiskPotential object

HISTORY:

2010-04-16 - Written - Bovy (NYU)

2013-01-01 - Re-implemented using faster integration techniques - Bovy (IAS)