altaz2hadec: Convert horizon (Alt-Az) coordinates to hour angle and declination
Description
Convert horizon (Alt-Az) coordinates to hour angle and declination
Usage
altaz2hadec(alt,az,lat)
Arguments
alt
local apparent altitude, in degrees, scalar or vector
az
local apparent altitude, in degrees, scalar or vector, measured east of north
lat
local geodetic latitude, in degrees, scalar or vector
Value
ha
local apparent hour angle, in degrees
dec
local apparent declination, in degrees
Details
For inputs, if you have measured azimuth west-of-south
(like the book MEEUS does), convert it to east of north via: az = (az + 180) mod 360
For outputs, the hour angle is the
time that right ascension of 0 hours crosses the local meridian.