Commit 10b1f643 authored by Marius Kriegerowski's avatar Marius Kriegerowski
Browse files

ifc: highpass+lowpass => bandpass

parent 6ffe6161
......@@ -58,8 +58,8 @@ class WavePacketIFC(IFC):
trs_filt = []
for orig_tr in trs:
tr = orig_tr.copy()
tr.highpass(4, self.fmin, demean=True)
tr.lowpass(4, self.fmax, demean=False)
tr.bandpass(4, self.fmin, self.fmax, demean=False)
tr.ydata = tr.ydata**2
n = int(num.round(1./fsmooth / tr.deltat))
......
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