ctapipe is not stable yet, so expect large and rapid changes to structure and functionality as we explore various design choices before the 1.0 release.

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