com1DFA.DFAtools.normalize

normalize(x, y, z)[source]

Normalize vector (x, y, z) for the Euclidean norm.

(x, y, z) can be np arrays.

Parameters
  • x (numpy array) – x component of the vector

  • y (numpy array) – y component of the vector

  • z (numpy array) – z component of the vector

Returns

  • x (numpy array) – x component of the normalized vector

  • y (numpy array) – y component of the normalized vector

  • z (numpy array) – z component of the normalized vector