Produced by IDL 7.1.1
User Documentation

./toolbox
ha2ra.pro

Last modification date:
Wed Sep 28 13:27:11 2016

ha2ra

function ha2ra(ha, lst)

Convert an hour angle (HA) in decimal hours to a Right Ascension (RA) in degrees using the given LST in seconds.

The returned value (RA) is always a postive number between 0 and 360. This works for vectors (lst must either be a single scalar or a vector of the same length as the HA argument).

Returns
RA (right ascension) in degrees. The returned value is always between 0.0 and 360.0. Returns NaN on error (missing arguments or bad number of elements in lst).
Version
$Id$

Parameters
ha
in, required
floating point
The hour angle(s) to convert (in degrees).
lst
in, required
floating point
The LST (in seconds) to use in the conversion. If this is a vector, it must have the same number of elements as ha.


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:39 2016