This function takes a 1-D array and finds all local maxima by simple ... peaks, _ = find_peaks(x, distance=150) >>> np.diff(peaks) array([186, 180, 177, ...
確定! 回上一頁