Triaxial power-law-density potential

class galpy.potential.PowerTriaxialPotential(amp=1.0, alpha=1.0, r1=1.0, b=1.0, c=1.0, zvec=None, pa=None, glorder=50, normalize=False, ro=None, vo=None)[source]

Class that implements triaxial potentials that are derived from power-law density models (including an elliptical power law)

\[\rho(r) = \frac{\mathrm{amp}}{r_1^3}\,\left(\frac{r_1}{m}\right)^{\alpha}\]

where \(m^2 = x^2+y^2/b^2+z^2/c^2\).

__init__(amp=1.0, alpha=1.0, r1=1.0, b=1.0, c=1.0, zvec=None, pa=None, glorder=50, normalize=False, ro=None, vo=None)[source]

Initialize a triaxial power-law potential.

Parameters:
  • amp (float or Quantity, optional) – Amplitude to be applied to the potential (default: 1); can be a Quantity with units of mass or Gxmass.

  • alpha (float) – Power-law exponent.

  • r1 (float or Quantity, optional) – Reference radius for amplitude.

  • b (float) – Y-to-x axis ratio of the density.

  • c (float) – Z-to-x axis ratio of the density.

  • zvec (numpy.ndarray, optional) – If set, a unit vector that corresponds to the z axis.

  • pa (float or Quantity, optional) – If set, the position angle of the x axis (rad or Quantity).

  • glorder (int, optional) – If set, compute the relevant force and potential integrals with Gaussian quadrature of this order.

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

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

Notes

  • 2021-05-07 - Started - Bovy (UofT)