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

    Function eccentricToTrue

    • Calculates true anomaly from eccentric anomaly and eccentricity.

      Parameters

      • eccentricAnomaly: number

        Eccentric anomaly E in degrees

      • eccentricity: number

        Orbital eccentricity e

      Returns number

      True anomaly ν (nu) in degrees

      The true anomaly is the actual angular position of the body as seen from the focus of the ellipse (where the Sun is).

      Formula: tan(ν/2) = √((1+e)/(1-e)) · tan(E/2)

      Using atan2 for proper quadrant handling.

      // If E = 90.955° and e = 0.0167
      const nu = eccentricToTrue(90.955, 0.0167);
      // nu ≈ 91.91° (true anomaly leads eccentric anomaly)

      Meeus, "Astronomical Algorithms", Eq. 30.1, p. 195