pyrocko.orthodrome_ext¶
C-extension supporting pyrocko.orthodrome
.
Functions
Calculate azimuth and backazimuth directions of great circle path at a pair of points on spherical earth. |
|
Calculate azimuth and backazimuth directions of great circle path at pairs of points on spherical earth (array version). |
|
Calculate great circle distance between pair of points on ellipsoidal earth. |
|
Calculate great circle distance between pairs of points on ellipsoidal earth (array version). |
- azibazi()¶
Calculate azimuth and backazimuth directions of great circle path at a pair of points on spherical earth.
- azibazi_numpy()¶
Calculate azimuth and backazimuth directions of great circle path at pairs of points on spherical earth (array version).
- Parameters:
alat (
numpy.ndarray
) – Latitudes of points 1alon (
numpy.ndarray
) – Longitudes of points 1blat (
numpy.ndarray
) – Latitudes of points 2blon (
numpy.ndarray
) – Longitudes of points 2
- distance_accurate50m()¶
Calculate great circle distance between pair of points on ellipsoidal earth.
- distance_accurate50m_numpy()¶
Calculate great circle distance between pairs of points on ellipsoidal earth (array version).
- Parameters:
alat (
numpy.ndarray
) – Latitudes of points 1alon (
numpy.ndarray
) – Longitudes of points 1blat (
numpy.ndarray
) – Latitudes of points 2blon (
numpy.ndarray
) – Longitudes of points 2