Siddhanta Parity API Documentation - v1.3.0
    Preparing search index...
    • Calculate the mean longitude (Madhyama) at a given Ahargana.

      [Ch. I, v.53-54] Core Planetary Computation: Multiplies the total days elapsed by the planetary revolution count and normalizes the result into the 360-degree zodiac.

      Parameters

      • body: Body

        The celestial body

      • ahargana: number

        Number of terrestrial days elapsed since the epoch

      Returns number

      Normalized mean longitude in degrees [0, 360)