Skip to content

Instantly share code, notes, and snippets.

@jamesmlane
Last active March 9, 2023 14:40
Show Gist options
  • Save jamesmlane/ca3da07c610d2d79dac3e115db6de447 to your computer and use it in GitHub Desktop.
Save jamesmlane/ca3da07c610d2d79dac3e115db6de447 to your computer and use it in GitHub Desktop.
Example notebook to convert from actions to positions and velocities (galpy.orbit.Orbit) using optimization. Candidate actions are calculated assuming an action-angle object (galpy.actionAngle.actionAngle) and compared with target actions using a simple likelihood function. Positions and velocities are determined using scipy.optimize.minimize. M…
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment