ephemeris icon indicating copy to clipboard operation
ephemeris copied to clipboard

retrograde planets?

Open cptolemy opened this issue 7 years ago • 2 comments

Hi

I was wondering: if we know the geocentric coordinates of the sun and one planet (longitude and distance) in one instant only, can we calculate/know mathematically if the planet is in retrograde motion or not? Or must we have 2 observations?

Clear skies

cptolemy avatar Feb 28 '18 07:02 cptolemy

Hi,

To determine retrograde you have to calculate second position in future. For example + 1 hour or a day. Then compare with current position.

mivion avatar Mar 02 '18 09:03 mivion

Hey @cptolemy ! For what its worth, my fork of this repo just implemented retrograde planet and shadow phase calculations into version 1.2.0 https://github.com/0xStarcat/Moshier-Ephemeris-JS/tree/master

Not sure if I'll be able to get it merged here, but feel free to have a look at how I did it in the files motion.js and HeliocentricOrbitalBody.js

To answer your question, yes you need 2 observations - my fork compares the apparentLongitude of the body now, and the body 1 second from now, and if the difference is <= 0, I designate it retrograde in the results.

0xStarcat avatar Nov 07 '19 15:11 0xStarcat