uxarray.grid.lines._angle_of_2_vectors#

uxarray.grid.lines._angle_of_2_vectors(u, v)#

Calculate the angle between two 3D vectors u and v in radians. Can be used to calcualte the span of a GCR.

Parameters
Returns

The angle between u and v in radians.

Return type

float