What's the equivalent of MatLab/Octave filt/bode in scipy?
<p>To create a digital system that could be used e.g. in bode or spectrum in matlab or octave I could use:</p>

<pre><code>b = [1,0.1,0.2,0.3]
a = [1,-1]
sys = filt(b,a)
bode(sys)
spectrum(sys)
</code></pre>

<p>What will be the scipy equivalent for this command(s)?</p>

<p>There are a few options, you can use <a href="http://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.signal.bode.html" rel="nofollow"><code>scipy.signal.bode</code></a> or <a href="http://python-control.readthedocs.io/en/latest/generated/control.bode.html#control.bode" rel="nofollow"><code>python-control.bode</code></a> or <a href="http://harold.readthedocs.io/en/latest/tut_freq_domain.html#harold.bodeplot" rel="nofollow"><code>harold.bodeplot</code></a>. </p>

python matlab scipy signal-processing