The detection of peaks and valleys in a 1d-vector or 2d-array (image)
This version can change the detection of peaks/valleys slightly in comparison to previous versions because it contains improved peak/valley detection fixes and some bug fixes.
from findpeaks import findpeaks
fp = findpeaks(method='peakdetect', params={'delta': 1})
window
and cu
need to specified in params={'window': 7, 'cu': 1}
See the documentation pages for the details!
Thank you for this awesome contribution @carolinegoehner