angular_separation

rubin_sim.utils.angular_separation(long1, lat1, long2, lat2)

Angular separation between two points in degrees

Parameters:
long1 is the first longitudinal coordinate in degrees
lat1 is the first latitudinal coordinate in degrees
long2 is the second longitudinal coordinate in degrees
lat2 is the second latitudinal coordinate in degrees
Returns:
The angular separation between the two points in degrees