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

    Function calculateAllIngresses

    • Find all house ingresses for a body in a date range.

      Parameters

      • body: CelestialBody

        Celestial body

      • houseCusps: number[]

        House cusp longitudes

      • startJD: number

        Start of search range

      • endJD: number

        End of search range

      Returns HouseIngress[]

      Array of all ingresses, sorted by date

      const ingresses = calculateAllIngresses(
      CelestialBody.Mars,
      houseCusps,
      jdStart,
      jdEnd
      );

      for (const ing of ingresses) {
      console.log(`Mars enters house ${ing.house} on ${ing.ingressDate?.year}-${ing.ingressDate?.month}`);
      }