galpy.orbit.Orbit.TrTp

Orbit.TrTp(pot=None, **kwargs)[source]

Calculate the ratio between the radial and azimuthal period Tr/Tphi*pi.

Parameters:
  • pot (Potential or list of Potential instances, optional) – Gravitational potential. Default is the gravitational field used for the orbit integration.

  • type ({'staeckel', 'adiabatic', 'isochroneApprox', 'spherical'}, optional) – Type of actionAngle module to use. Default is ‘staeckel’.

  • kwargs (+actionAngle module setup)

Returns:

Ratio between the radial and azimuthal period Tr/Tphi*pi

Return type:

float, numpy.ndarray or Quantity [*input_shape]

Notes

  • 2019-02-27 - Written - Bovy (UofT)