actionAngleAdiabaticGrid

class galpy.actionAngle.actionAngleAdiabaticGrid(pot=None, zmax=1.0, gamma=1.0, Rmax=5.0, nR=16, nEz=16, nEr=31, nLz=31, numcores=1, **kwargs)[source]

Action-angle formalism for axisymmetric potentials using the adiabatic approximation, grid-based interpolation

__init__(pot=None, zmax=1.0, gamma=1.0, Rmax=5.0, nR=16, nEz=16, nEr=31, nLz=31, numcores=1, **kwargs)[source]

Initialize an actionAngleAdiabaticGrid object

Parameters:
  • pot (Potential or list of Potential instances) – The potential (instance) or list of potentials (instances) that make up the potential

  • zmax (float) – Maximum height to which to calculate Ez

  • gamma (float) – Replace Lz by Lz+gamma Jz in effective potential

  • Rmax (float) – Maximum radius to which to calculate Er

  • nR (int) – Number of radii to use in the grid

  • nEz (int) – Number of Ez values to use in the grid

  • nEr (int) – Number of Er values to use in the grid

  • nLz (int) – Number of Lz values to use in the grid

  • numcores (int) – Number of cores to use for multi-processing

  • ro (float or Quantity, optional) – Distance scale for translation into internal units (default from configuration file).

  • vo (float or Quantity, optional) – Velocity scale for translation into internal units (default from configuration file).

Notes

  • 2012-07-27 - Written - Bovy (IAS@MPIA)