ANGSEP
Name
angsep
Purpose
Compute the angular distance between two spherical coordinates.
Description
Category
Mathematical
Calling Sequence
ans=angsep(ra1,dec1,ra2,dec2)
Inputs
ra1 - RA of first position (radians)
dec1 - Dec of first position (radians)
ra2 - RA of second position (radians)
dec2 - Dec of second position (radians)
Optional Input Parameters
Keyword Input Parameters
Outputs
return value is the angular distance in radians.
Keyword Output Parameters
Common Blocks
Side Effects
Restrictions
Procedure
Modification History
Written by Marc W. buie, Lowell Observatory, 1997/09/08
2009/02/26, MWB, added protection against round off error generating NaN