From: W. Trevor King Date: Wed, 2 Jun 2010 05:31:44 +0000 (-0400) Subject: Fix 'min_deviations + std' -> 'min_deviations * std' in hooke.util.peak X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=923e649dd68d4439fea4887ed16a980ca5c188be;p=hooke.git Fix 'min_deviations + std' -> 'min_deviations * std' in hooke.util.peak Oops :p. --- diff --git a/hooke/util/peak.py b/hooke/util/peak.py index 7b90c7d..185f04d 100644 --- a/hooke/util/peak.py +++ b/hooke/util/peak.py @@ -340,7 +340,7 @@ def above_noise(data, side='both', min_deviations=5.0, mean=None, std=None): elif side == 'both': data = numpy.absolute(data-mean) mean = 0 - return data > (min_deviations + std) + return data > (min_deviations * std) above_noise_arguments = [ Argument('side', type='string', default='both',