Removed trailing comma that turned 'median' into a tuple
authorW. Trevor King <wking@drexel.edu>
Wed, 19 May 2010 08:39:32 +0000 (04:39 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 19 May 2010 08:39:32 +0000 (04:39 -0400)
hooke/plugin/flatfilt.py

index a1d5e8361257d25e5fb2500d165d6e8dfa1fd3ff..f1e427e81d33914d86bd0a5d210b3c41937544e1 100644 (file)
@@ -125,7 +125,7 @@ Number of points to use in the initial rolling median filter.
         start_index = 0
         while z_data[start_index] < params['blind window']:
             start_index += 1
-        median = medfilt(d_data[start_index:], params['median window']),
+        median = medfilt(d_data[start_index:], params['median window'])
         deriv = diff(median)
         peaks = find_peaks(deriv, **_kwargs(params, find_peaks_arguments,
                                             argument_input_keys=True))