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)
ra

The right ascension in radians.

ut

The Universal Time as a datetime instance.

eLong

The east longitude in radians.