1
$\begingroup$

I have used the (matlab/octave) SOFA routine/function iauEpv00 to get the barycentric position and velocity of the Earth, but now need to find barycentric position of the sun. Can't seem to find the right routine/function.

$\endgroup$
  • 1
    $\begingroup$ This is unhelpful, but I, myself, would use SPICE: naif.jpl.nasa.gov/naif/tutorials.html $\endgroup$ – user21 Dec 15 '16 at 16:20
  • $\begingroup$ Thanks for replying Barry. I have thought of that, but I'm using Octave in Windows. There is a special port of the SPICE functions into Matlab called MICE. To use MICE in Linux you have to do some compiling (see link. I have no idea how to get MICE to work in Octave/Windows. $\endgroup$ – user46655 Dec 15 '16 at 22:50
  • $\begingroup$ I am hoping that I've missed a simple program, maybe in SOFA, that can be used, like iauEpv00 for the earth, which works well. $\endgroup$ – user46655 Dec 15 '16 at 23:02
  • $\begingroup$ Since iauEpv00 gives both the heliocentric and barycentric position of Earth, you could subtract the two to find the barycentric position of the Sun? $\endgroup$ – user21 Dec 16 '16 at 0:50
  • $\begingroup$ Barry, you're right! Thanks. Still a lot to learn. $\endgroup$ – user46655 Dec 16 '16 at 1:46

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.