magpie.coords.distusphere

distusphere(phi1, theta1, phi2, theta2)

Compute angular (great-arc) distance between two points on a unit sphere.

Parameters
phi1, theta1float or array

Location of first points on the unit sphere.

phi2, theta2float or array

Location of second points on the unit sphere.

Returns
distfloat or array

Angular great-arc distance.