Celestine API Documentation - v0.2.0
    Preparing search index...

    Function findStationPoints

    • Find station points (where planet appears to stop) in a date range.

      Parameters

      • body: CelestialBody

        Celestial body

      • startJD: number

        Start of search range

      • endJD: number

        End of search range

      Returns StationPoint[]

      Array of station points

      A station occurs when the planet's longitude speed crosses zero.

      • Station Retrograde: Speed goes from positive to negative
      • Station Direct: Speed goes from negative to positive
      const stations = findStationPoints(CelestialBody.Mercury, jdStart, jdEnd);
      for (const station of stations) {
      console.log(`Mercury ${station.type} at ${station.longitude.toFixed(2)}°`);
      }