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.

normalise#

ctapipe.utils.linalg.normalise(vec)[source]#
Sets the length of the vector to 1

without changing its direction

Parameters:
vecnumpy array
Returns:
numpy array with the same direction but length of 1