Siddhanta Parity API Documentation - v1.3.0
    Preparing search index...
    • Calculates the angular separation between the Sun and the given body.

      Returns the full angle seen from the Earth, between the given body and the Sun. Unlike PairLongitude, this function does not project the body's "shadow" onto the ecliptic; the angle is measured in 3D space around the plane that contains the centers of the Earth, the Sun, and body.

      Parameters

      • body: Body

        The name of a supported celestial body other than the Earth.

      • date: FlexibleDateTime

        The time at which the angle from the Sun is to be found.

      Returns number

      An angle in degrees in the range [0, 180].