Garmaine Staff asked 2 years ago

I am looking to code a a function that converts my 3d position and 3d velocity of a binary system into keplerian orbital elements of the system. I have seen a few other posts on this but they always assume that the orbiting body is moving around a fixed object. I am using python.