now using find_peaks_cwt()