SIXTYV
Name
SIXTYV
Purpose
Converts a vector of decimal numbers to sexigesimal (vector version of
SIXTY in the astronomy library).
Category
Astro
Calling Sequence
Result = SIXTY(X)
Inputs
X: One or more decimal values, in degrees or hours.
Outputs
If X is a scalar, then Result is a 3-element vector of degrees, minutes and seconds.
If X is an array of length N, then result is a 3xN array.
Example
IDL> print, sixtyv([90., -45.5])
90.0000 0.00000 0.00000
-45.0000 30.0000 0.00000
Modification History
Written by Jeremy Bailin 20 April 2011
Based on SIXTY in the Astronomy Users Library