ertk.utils.transpose_time

ertk.utils.transpose_time(arrays: List[ndarray]) List[ndarray]
ertk.utils.transpose_time(arrays: ndarray) ndarray

Transpose the time and feature axis of each array. Requires each array be 2-D.

Note: This function modifies the arrays in-place.

Parameters:
arrays: list of np.ndarray

The arrays to process. Assumes axis 0 of each sub-array, or axis 1 of arrays, is the time axis.

Returns:
transposed_arrays:

Transposed arrays.