Siddhanta Parity API Documentation - v1.3.0
    Preparing search index...

    Represents the location of an object seen by an observer on the Earth.

    Holds azimuth (compass direction) and altitude (angle above/below the horizon) of a celestial object as seen by an observer at a particular location on the Earth's surface. Also holds right ascension and declination of the same object. All of these coordinates are optionally adjusted for atmospheric refraction; therefore the right ascension and declination values may not exactly match those found inside a corresponding EquatorialCoordinates object.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • azimuth: number
      • altitude: number
      • ra: number
      • dec: number

      Returns HorizontalCoordinates

    Properties

    altitude: number

    A vertical angle in degrees above (positive) or below (negative) the horizon. The value is in the range [-90, +90]. The altitude angle is optionally adjusted upward due to atmospheric refraction.

    azimuth: number

    A horizontal compass direction angle in degrees measured starting at north and increasing positively toward the east. The value is in the range [0, 360). North = 0, east = 90, south = 180, west = 270.

    dec: number

    The declination of of the celestial body in degrees. The value in the range [-90, +90]. If altitude was adjusted for atmospheric reaction, dec is likewise adjusted.

    ra: number

    The right ascension of the celestial body in sidereal hours. The value is in the reange [0, 24). If altitude was adjusted for atmospheric reaction, ra is likewise adjusted.