Next / Previous / Contents / Shipman's homepage

12. class AltAz: Horizon coordinates

An instance of class AltAz represents a location in the sky relative to the observer's horizon. See Section 3.2, “Altazimuth coordinates”.

12.1. AltAz.__init__(): Constructor

The constructor call has this form:

AltAz(alt, az)
alt

The altitude above the horizon in radians.

az

The azimuth angle in radians, where 0.0 is north, π/2 is east, and so on.

Instances have these attributes:

.alt

The altitude, normalized to [-π, π].

.az

The azimuth, normalized to [0,2π).