Giter Site home page Giter Site logo

retrograde planets? about ephemeris HOT 2 OPEN

mivion avatar mivion commented on June 12, 2024
retrograde planets?

from ephemeris.

Comments (2)

mivion avatar mivion commented on June 12, 2024 2

Hi,

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

from ephemeris.

0xStarcat avatar 0xStarcat commented on June 12, 2024

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.

from ephemeris.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.