ToolPythonIntermediate Filtering with scipy.signal: mains hum and noise out of an ECG y_causal = signal.sosfilt(sos, signal.lfilter(b, a, x))