0
$\begingroup$

With scipy I can use signal.butter and signal.lfilter on a time signal. Performing a Fourier transform then shows me that the filter worked.

Using signal.freqz I can get the frequency response of the filter. Is there anything stopping me from simply taking the FT of my time signal and convolving it with my frequency response?

$\endgroup$
  • 1
    $\begingroup$ Nothing stops you. BTW, if you convolving in frequency is like multiplying in time. $\endgroup$ – Juancho Jun 15 '17 at 14:17
  • $\begingroup$ Note that multiplying two FFTs results in the same as a circular convolution in the time domain. So be prepared for the beginning and/or end of your "filtered" time domain signal block to look funny. $\endgroup$ – hotpaw2 Jun 16 '17 at 1:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.