Commit 0fd6549e authored by Marius Kriegerowski's avatar Marius Kriegerowski
Browse files

ifc: fix optional downsample_rate

parent 428b3165
......@@ -325,7 +325,7 @@ class TemplateMatchingIFC(IFC):
help='Event parameters of the template')
template_markers_path = common.Path.T(
help='File with markers defining the template')
sum_square = Bool.T(
......@@ -395,7 +395,8 @@ class TemplateMatchingIFC(IFC):
masters = {}
for xtr in master_traces:
tr = xtr.copy()
downsample(tr, 1./self.downsample_rate)
if self.downsample_rate is not None:
downsample(tr, 1./self.downsample_rate)
tr.highpass(4, self.fmin, demean=False)
tr.lowpass(4, self.fmax, demean=False)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment