gaitmap.utils.array_handling.find_local_minima_below_threshold#

gaitmap.utils.array_handling.find_local_minima_below_threshold(data: ndarray, threshold: float) ndarray[source]#

Find local minima below a max_cost.

This method divides an array in sections marked by the crossing points with the threshold. The argmin is calculated for every individual section. As long as the values don’t rise above the threshold again, it is considered one section.