Closed gacarita closed 3 years ago
Some angles are degenerate for e=0.
The coordinate transformations in REBOUND are written in a way that everything is still self consistent even in those cases. But you should not expect to get back the omega you use to initialize an orbit if the eccentricity is 0 (because it's not well defined).
I see.
Thank you @hannorein.
I am currently running some initial condition grids for stability maps in resonant cases, in these cases I need to ensure that my "initial resonant angle" is librating around the angle I am studying. I'm setting the values of Omega omega and M and varying it, and to make sure that happens, but in a few cases the angles that I defined initially are not the ones that appear in the initial conditions I'm printing, the results at the end of the simulations seem to be correct because I am checking from the Cartesian coordinates, but I am not really understanding why the angles that I define initially are being redefined.
Would anyone know the reason for this? could this be happening due to the changing parameters of the orbital elements as I define the retrograde orbit (described here : https://rebound.readthedocs.io/en/latest/ipython/OrbitalElements.html), which could be confusing when looking at the initial conditions?
Print's