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(
optional=True,
optional=False,
help='File with markers defining the template')
sum_square = Bool.T(
......@@ -395,6 +395,7 @@ class TemplateMatchingIFC(IFC):
masters = {}
for xtr in master_traces:
tr = xtr.copy()
if self.downsample_rate is not None:
downsample(tr, 1./self.downsample_rate)
tr.highpass(4, self.fmin, demean=False)
......
Markdown is supported
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