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]

Initialize an actionAngleStaeckelGrid object

Parameters:
  • pot (Potential or list of Potential instances) – The potential or list of potentials to use for the actionAngleStaeckelGrid object.

  • delta (float or Quantity) – The focal length of the confocal coordinate system.

  • Rmax (float) – The maximum R to consider (natural units).

  • nE (int) – The number of grid points in energy.

  • npsi (int) – The number of grid points in psi.

  • nLz (int) – The number of grid points in Lz.

  • numcores (int) – The number of cores to use for multi-processing.

  • interpecc (bool) – If True, also interpolate the approximate eccentricity, zmax, rperi, and rapo.

  • 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-11-29 - Written - Bovy (IAS)

  • 2017-12-15 - Written - Bovy (UofT)