Produced by IDL 7.1.1
User Documentation

./toolbox
ra2ha.pro

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

ra2ha

function ra2ha(ra, lst)

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

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

Returns
HA (hour angle) in degrees. The returned value is always between -180. and 180.0. Returns NaN on error (missing arguments or bad number of elements in lst).
Version
$Id$

Parameters
ra
in, required
floating point
The right ascensions(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 ra.


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