2
$\begingroup$

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.

$\endgroup$
  • $\begingroup$ This is a cool problem! If you can't assume that their center of mass isn't also moving then it's a little more complicated. Are you given anything about their masses? Either both masses or their ratio? $\endgroup$ – uhoh Mar 30 at 11:33
  • $\begingroup$ Where is your origin of the cartesian coordinate system? At one body of the binary system or at their common barycenter? Are keplerian orbital elements applicable to a binary system? Kepler's work was based on the unary solar system with only one central star. $\endgroup$ – Uwe Mar 30 at 17:58
  • $\begingroup$ These papers might be helpful: 1, 2, 3. $\endgroup$ – Uwe Mar 30 at 18:03
  • 1
    $\begingroup$ @uhoh I also think its very cool! I have the fact that the members of the binary system are of equal mass. The origin of the coordinate system is the barycentre of the binary. $\endgroup$ – Warrenmovic Mar 30 at 19:21
  • 1
    $\begingroup$ @Uwe Yes the barycenter is at the origin of the Cartesian coordinate system $\endgroup$ – Warrenmovic Mar 30 at 19:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.