actionAngleVerticalInverse

class galpy.actionAngle.actionAngleVerticalInverse(pot=None, Es=[0.1, 0.3], nta=128, setup_interp=False, use_pointtransform=False, pt_deg=7, pt_nxa=301, maxiter=100, angle_tol=1e-12, bisect=False)[source]

Inverse action-angle formalism for one dimensional systems

__init__(pot=None, Es=[0.1, 0.3], nta=128, setup_interp=False, use_pointtransform=False, pt_deg=7, pt_nxa=301, maxiter=100, angle_tol=1e-12, bisect=False)[source]

NAME:

__init__

PURPOSE:

initialize an actionAngleVerticalInverse object

INPUT:

pot= a linearPotential/verticalPotential or list thereof

Es= energies of the orbits to map the tori for, will be forcibly sorted (needs to be a dense grid when setting up the object for interpolation with setup_interp=True)

nta= (128) number of auxiliary angles to sample the torus at when mapping the torus

setup_interp= (False) if True, setup interpolation grids that allow any torus within the E range to be accessed through interpolation

maxiter= (100) maximum number of iterations of root-finding algorithms

angle_tol= (1e-12) tolerance for angle root-finding (f(x) is within tol of desired value)

bisect= (False) if True, use simple bisection for root-finding, otherwise first try Newton-Raphson (mainly useful for testing the bisection fallback)

OUTPUT:

instance

HISTORY:

2018-04-11 - Started - Bovy (UofT)