Fails to detect peaks at index 0
Issue #24
closed
Peaks at index 0 are not found
eg
y = np.ones(10) y[0]=3 y[4]=2
peakutils.indexes(y) array([4], dtype=int64)
Comments (2)
-
repo owner -
repo owner - changed status to closed
- Log in to comment
There are no peaks at the first or last positions, by definition (as the values outside the array are inexistent / undefined).