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

ifc: fix missing masters/downsample_rate

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