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

    Function meanToTrue

    • Calculates true anomaly directly from mean anomaly and eccentricity.

      Parameters

      • meanAnomaly: number

        Mean anomaly M in degrees

      • eccentricity: number

        Orbital eccentricity e

      Returns number

      True anomaly ν (nu) in degrees

      Convenience function that combines solveKepler and eccentricToTrue. This is the most commonly used function for orbital calculations.

      // Convert mean anomaly to true anomaly for Earth
      const trueAnomaly = meanToTrue(90, 0.0167);
      // trueAnomaly ≈ 91.91°