Next / Previous / Contents / Shipman's homepage

11. class SiderealTime

An instance of this class represents a sidereal time in hours. For definitions, see Section 3.3.7, “Sidereal time”.

These instance attributes are exported:

.hours

The sidereal time as decimal hours in the range [0,24).

.radians

The sidereal time in radians, in the range [0,2π).

11.1. SiderealTime.__init__(): Constructor

The constructor takes a value S in the interval [0,24).

SiderealTime(S)