norm()
Takes the norm sqrt(x^2 + y^2).
arr (np.ndarray) – velocity sequence
axis (int, optional) – axis to take norm. If None it is inferred from arr.shape.
np.ndarray