lbl-anp / becquerel

Becquerel is a Python package for analyzing nuclear spectroscopic measurements.
Other
43 stars 16 forks source link

min_snr doesn't change result of peakfinder.find_peaks #352

Closed arunpersaud closed 1 year ago

arunpersaud commented 2 years ago

when increasing the min_snr value in find_peaks to a higher value, the number of peaks found does not change, since the list of peaks is not emptied first (simple call to self.reset fixes it). I'll submit a pull request in a minute for this.