BGlib.be.analysis.be_sho_fitter.wavelet_peaks

BGlib.be.analysis.be_sho_fitter.wavelet_peaks(vector, peak_width_bounds, peak_width_step=20, **kwargs)[source]

This is the function that will be mapped by multiprocess. This is a wrapper around the scipy function. It uses a parameter - wavelet_widths that is configured outside this function.

Parameters:

vector (1D numpy array) – Feature vector containing peaks

Returns:

peak_indices – List of indices of peaks within the prescribed peak widths

Return type:

list