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$
2
  • 1
    $\begingroup$ Nothing stops you. BTW, if you convolving in frequency is like multiplying in time. $\endgroup$
    – Juancho
    Jun 15, 2017 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, 2017 at 1:57

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.