ToolPythonIntermediate Filtering with scipy.signal: mains hum and noise out of an ECG return 2 * np.abs(np.fft.rfft(s)) / s.size # mV
ConceptPythonBeginner The Fourier transform: asking a signal how much of each frequency it contains X = np.fft.rfft(h)