- gala.dynamics.harmonic_oscillator_to_aa(w, potential)¶
Transform the input cartesian position and velocity to action-angle coordinates for the Harmonic Oscillator potential.
This transformation is analytic and can be used as a “toy potential” in the Sanders & Binney (2014) formalism for computing action-angle coordinates in any potential.
This function is included as a method of the
HarmonicOscillatorPotentialand it is recommended to call