actionAngleStaeckelGrid¶
- class galpy.actionAngle.actionAngleStaeckelGrid(pot=None, delta=None, Rmax=5.0, nE=25, npsi=25, nLz=30, numcores=1, interpecc=False, **kwargs)[source]¶
Action-angle formalism for axisymmetric potentials using Binney (2012)’s Staeckel approximation, grid-based interpolation
- __init__(pot=None, delta=None, Rmax=5.0, nE=25, npsi=25, nLz=30, numcores=1, interpecc=False, **kwargs)[source]¶
- NAME:
__init__
- PURPOSE:
initialize an actionAngleStaeckelGrid object
- INPUT:
pot= potential or list of potentials
delta= focus of prolate confocal coordinate system (can be Quantity)
Rmax = Rmax for building grids (natural units)
nE=, npsi=, nLz= grid size
interpecc= (False) if True, also interpolate the approximate eccentricity, zmax, rperi, and rapo
numcores= number of cpus to use to parallellize
ro= distance from vantage point to GC (kpc; can be Quantity)
vo= circular velocity at ro (km/s; can be Quantity)
OUTPUT:
instance
HISTORY:
2012-11-29 - Written - Bovy (IAS)
2017-12-15 - Written - Bovy (UofT)