galpy.orbit.Orbit.phasedim

Orbit.phasedim()[source]

Return the phase-space dimension of the problem.

Returns:

Phase-space dimension (2 for 1D, 3 for 2D-axi, 4 for 2D, 5 for 3D-axi, 6 for 3D).

Return type:

int

Notes

  • 2018-12-20: Written by Bovy (UofT).