Browse Source

ifc: fix missing masters/downsample_rate

template_parallel
Marius Kriegerowski 3 years ago
parent
commit
9034584962
  1. 8
      src/ifc.py

8
src/ifc.py

@ -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:
continue
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)

Loading…
Cancel
Save