hooke.util.peak.find_peaks should *not* die on noise nonconvergence
authorW. Trevor King <wking@drexel.edu>
Wed, 19 May 2010 07:58:47 +0000 (03:58 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 19 May 2010 07:58:47 +0000 (03:58 -0400)
hooke/util/peak.py

index 1c4e86d3f216fc8cda81fdfffdb549cda64f9d88..32ec79ff0058df469b72ce32f99488286f68ca44 100644 (file)
@@ -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(