angSep calculates the angular separation of two sky positions
using spherical trigonometry.
Usage
angSep(ra1, dec1, ra2, dec2)
Arguments
ra1
Right ascention (string) of the first position.
dec1
Declination of (string) the first position.
ra2
Right ascention (string) the second position.
dec2
Declination of (string) the second position.
Value
Returns angluar separation in decimal degrees.
Details
Enter positions as text strings with fields separated by characters d,
h, m, s, a colon, or a comma, e.g. '17, 42, 28', '-28h43m03s', or
'- 28 :43 : 3'.
Spaces are removed in input conversion.
This is a
spherical trigonometry calculation, valid for small and large distances.