Next / Previous / Contents / Shipman's homepage

6.4. raToHourAngle(): Convert a right ascension to an hour angle

This is the inverse of Section 6.3, “hourAngleToRA(): Convert an hour angle to right ascension”: given a right ascension ra and the observer's time and location, it returns the hour angle in radians.

raToHourAngle(ra, ut, eLong)

The right ascension in radians.


The Universal Time as a datetime instance.


The east longitude in radians.