angular_separation¶
- astropy.coordinates.angular_separation(lon1, lat1, lon2, lat2)[source]¶
Angular separation between two points on a sphere.
- Parameters
- Returns
Notes
The angular separation is calculated using the Vincenty formula [1], which is slightly more complex and computationally expensive than some alternatives, but is stable at at all distances, including the poles and antipodes.