Convert equatorial coordinates (H, δ) to horizontal coordinates (A, h) for an observer at latitude φ.
- Parameters
-
| H | The local hour angle of the object, measured westward from the meridian. |
| δ | The declination of the object. |
| φ | The observer's geographic latitude. |
- Returns
- The horizontal coordinates (A, h); A is measured from the south point, positive westward, and normalized to [0°, 360°).
- Note
- Meeus gives tan A in terms of tan δ, which diverges at the celestial poles (δ = ±90°). Here the numerator and denominator are multiplied through by cos δ, so the result stays finite.
-
Assumes δ ∈ [-90°, 90°] and φ ∈ [-90°, 90°], as declination and geographic latitude are by definition; outside the former range the cos δ-multiplied form silently shifts A by 180°.
-
The resulting altitude is purely geometric: no atmospheric refraction, parallax, or horizon dip is taken into account (for refraction see Meeus Chapter 16; for parallax, Chapter 40).
- See also
- Jean Meeus, "Astronomical Algorithms", Second Edition, Chapter 13, Formulas (13.5) and (13.6).