angle#

ctapipe.utils.linalg.angle(v1, v2)[source]#
computes the angle between two vectors

assuming cartesian coordinates

Parameters:
v1numpy array
v2numpy array
Returns:
the angle between v1 and v2 as a dimensioned astropy quantity