projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46f97dd
)
hooke.util.peak.find_peaks should *not* die on noise nonconvergence
author
W. Trevor King
<wking@drexel.edu>
Wed, 19 May 2010 07:58:47 +0000
(
03:58
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 19 May 2010 07:58:47 +0000
(
03:58
-0400)
hooke/util/peak.py
patch
|
blob
|
history
diff --git
a/hooke/util/peak.py
b/hooke/util/peak.py
index 1c4e86d3f216fc8cda81fdfffdb549cda64f9d88..32ec79ff0058df469b72ce32f99488286f68ca44 100644
(file)
--- 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(