Skip to content

It would be really nice if _update_body_data provided Cartesian coordinates. #41

Description

@thunkii

I am currently trying to use/extend resonances to make plots for Wikipedia of resonant Solar System bodies in the Sun-planet orbit rotating frame, like so:

resin_animation_test.mp4

Right now I'm doing that from Solex output, which can provide Cartesian coordinates for the small body in resonance and the larger body it is librating around. Those coordinates can then be rotated into the orbit frame and the positions of both bodies plotted.

Having the bodies object provide Cartesian positions (ideally in ICRS coordinates, but I'll take any other consistent system) would make this more convenient. While positions can be calculated from the osculating orbital elements, it does add an extra step which seems redundant considering the positions are available from the underlying REBOUND integrator.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions