deepof.utils.rotate_all_numba

deepof.utils.rotate_all_numba(data: array, angles: array) array

Rotates Return a 2D numpy.ndarray with the initial values rotated by angles radians.

Parameters:
  • p (numpy.ndarray) – 2D Array containing positions of bodyparts over time.

  • angles (numpy.ndarray) – Set of angles (in radians) to rotate p with.

Returns:

rotated positions over time

Return type:

  • rotated (numpy.ndarray)