Commit 90345849 authored by Marius Kriegerowski's avatar Marius Kriegerowski
Browse files

ifc: fix missing masters/downsample_rate

parent 63396a6c
...@@ -431,7 +431,11 @@ class TemplateMatchingIFC(IFC): ...@@ -431,7 +431,11 @@ class TemplateMatchingIFC(IFC):
b = orig_b.copy() b = orig_b.copy()
nslc = b.nslc_id nslc = b.nslc_id
a = self.masters[nslc] a = self.masters.get(nslc, False)
if not a:
if self.downsample_rate is not None:
downsample(b, 1./self.downsample_rate) downsample(b, 1./self.downsample_rate)
b.highpass(4, self.fmin, demean=False) b.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