projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df87cbc
)
Removed trailing comma that turned 'median' into a tuple
author
W. Trevor King
<wking@drexel.edu>
Wed, 19 May 2010 08:39:32 +0000
(
04:39
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 19 May 2010 08:39:32 +0000
(
04:39
-0400)
hooke/plugin/flatfilt.py
patch
|
blob
|
history
diff --git
a/hooke/plugin/flatfilt.py
b/hooke/plugin/flatfilt.py
index a1d5e8361257d25e5fb2500d165d6e8dfa1fd3ff..f1e427e81d33914d86bd0a5d210b3c41937544e1 100644
(file)
--- a/
hooke/plugin/flatfilt.py
+++ b/
hooke/plugin/flatfilt.py
@@
-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))