From: W. Trevor King Date: Wed, 19 May 2010 07:58:47 +0000 (-0400) Subject: hooke.util.peak.find_peaks should *not* die on noise nonconvergence X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=80c6faf5d19c3caee2d496c1b518ff6a79f2a2aa;p=hooke.git hooke.util.peak.find_peaks should *not* die on noise nonconvergence --- diff --git a/hooke/util/peak.py b/hooke/util/peak.py index 1c4e86d..32ec79f 100644 --- a/hooke/util/peak.py +++ b/hooke/util/peak.py @@ -504,8 +504,6 @@ def find_peaks(data, **kwargs): The input parameters may be any accepted by the above functions. """ mask,mean,std,converged = noise(data, **_kwargs(kwargs, noise_arguments)) - if converged == False: - raise ValueError(kwargs) mask = above_noise(data, **_kwargs(kwargs, above_noise_arguments)) peaks = mask_to_peaks(data, mask) peaks = merge_double_peaks(