haversine¶
- rubin_sim.utils.haversine(long1, lat1, long2, lat2)¶
DEPRECATED; use angular_separation() instead
Return the angular distance between two points in radians
@param [in] long1 is the longitude of point 1 in radians
@param [in] lat1 is the latitude of point 1 in radians
@param [in] long2 is the longitude of point 2 in radians
@param [in] lat2 is the latitude of point 2 in radians
@param [out] the angular separation between points 1 and 2 in radians