Siddhanta Parity API Documentation - v1.3.0
    Preparing search index...
    • Calculates barycentric position and velocity vectors for the given body.

      Given a body and a time, calculates the barycentric position and velocity vectors for the center of that body at that time. The vectors are expressed in J2000 mean equator coordinates (EQJ).

      Parameters

      • body: Body

        The celestial body whose barycentric state vector is to be calculated. Supported values are Body.Sun, Body.Moon, Body.EMB, Body.SSB, and all planets: Body.Mercury, Body.Venus, Body.Earth, Body.Mars, Body.Jupiter, Body.Saturn, Body.Uranus, Body.Neptune, Body.Pluto.

      • date: FlexibleDateTime

        The date and time for which to calculate position and velocity.

      Returns StateVector

      An object that contains barycentric position and velocity vectors.