gaitmap.utils.array_handling: Helper to perform various array modifications#
A set of util functions that help to manipulate arrays in any imaginable way.
Functions#
|
Create a sliding window view of an input array with given window length and overlap. |
|
Find regions in bool array and convert those to start-end indices. |
|
Find local minima below a max_cost. |
|
Find local minima using scipy's |
|
Return the index of the global extrema of data in the given radius around each index in indices. |
Split an array into sections at nan values. |
|
|
Interpolate multiple 2D-arrays to the same length along axis 0. |
|
Merge intervals that are overlapping and that are a distance less or equal to gap_size from each other. |