Util.HourAngle() Method

Computes the hour angle, given the sidereal time and right ascension

Syntax

Util.HourAngle(SiderealTime, RightAscension)

The method syntax has these parts:

Part Description
SiderealTime (Double) sidereal time, hours
RightAscension (Double) right ascension, hours
Return (Double) hour angle, degrees positive-east -180 to 180

Remarks

DEPRECATED Use Util.HourAngle12() for all new scripts. For this function, hour angle is right ascension - sidereal time, converted to degrees.
The hour angle returned from this function is backwards. Positive hour angles are to the east, rather than the conventional positive-west. This is not going to change; we don't want to break existing scripts.