Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python / Scipy filter discretization

I am currently trying to move from Matlab to Python and succeeded in several aspects. However, one function in Matlab's Signal Processing Toolbox that I use quite regularly is the impinvar function to calculate a digital filter from its analogue version.

In Scipy.signal I only found the bilinear function to do something similar. But, in contrast to the Matlab bilinear function, it does not take an optional argument to do some pre-warping of the frequencies. I did not find any impinvar (impulse invariance) function in Scipy.

Before I now start to code it myself I'd like to ask whether there is something that I simply overlooked? Thanks.

like image 231
Sascha Avatar asked Feb 14 '13 07:02

Sascha


1 Answers

There is a Python translation of the Octave impinvar function in the PyDynamic package which should be equivalent to the Matlab version.

like image 54
David Avatar answered Oct 04 '22 02:10

David