AngularSeparation

class astropy.coordinates.angles.AngularSeparation(lat1, lon1, lat2, lon2, units) [edit on github][source]

Bases: astropy.coordinates.angles.Angle

An on-sky separation between two directions.

Note

This is computed using the Vincenty great circle distance formula, and hence should be numerically stable even for near antipodal points.

Parameters :

lat1 : float

The value of the first latitudinal/elevation angle.

lon1 : float

The value of the first longitudinal/azimuthal angle.

lat2 : float

The value of the second latitudinal/elevation angle.

lon2 : float

The value of the second longitudinal/azimuthal angle.

units : units

The units of the given angles.

Attributes Summary

arcsecs The value of this separation in arcseconds.
arcmins The value of this separation in arcminutes.

Attributes Documentation

arcsecs[source]

The value of this separation in arcseconds.

arcmins[source]

The value of this separation in arcminutes.

Page Contents