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:
- warray_like
Input array of 6D Cartesian phase-space positions. Should have shape
(norbits, 6)
.
- Returns:
- new_w
ndarray
Points represented in 6D Poincaré polar coordinates.
- new_w