find_peaks_cwt

ipkiss3.all.find_peaks_cwt(x, y, threshold=0.5)

Find peaks in data varying in one parameter by means of a wavelet convolution

Parameters:

x: ndarray or list

Abscissa of the data

y: ndarray or list

Ordinate of the data in which to detect peaks

threshold: float

Decision threshold for peaks

Returns:

x_peak: ndarray

x values where y peaks

y_peak: ndarray

peak y values