length#

ctapipe.utils.linalg.length(vec)[source]#

returns the length/norm of a numpy array as the square root of the inner product with itself