Changing detect range, can't work peak detections by PeakUtils

Issue #26 resolved
M T created an issue

Dear author

I want to use PeakUtils to detect peaks. But Changing the operation range, this tool can't work for large peaks. So pleases check pictures. This filename of png is the range of operation area (max).

Setting parameters are here. I want to get all peaks, so I set a small threshold.

min_dist = 60
sig_peaks = peakutils.indexes(total_data, thres=0.001,min_dist=min_dist)

Sincerely

Comments (2)

  1. Lucas Hermann Negri repo owner

    Hi,

    Your threshold is too low, and it is detecting almost every point as a peak in your noisy data. Try increasing it (due to the minimum distance between peaks, some of the larger peaks will not be detected this way).

  2. Log in to comment