# cartesian_to_poincare_polar¶

gala.coordinates.cartesian_to_poincare_polar(w)[source]

Convert an array of 6D Cartesian positions to Poincaré symplectic polar coordinates. These are similar to cylindrical coordinates.

Parameters: w : array_like Input array of 6D Cartesian phase-space positions. Should have shape (norbits,6). new_w : ndarray Points represented in 6D Poincaré polar coordinates.