A flow-based ML method for finding invertible canonical transformations between phase-space and action-angle coordinates for galactic dynamics.