[SciPy-User] How to calculate Yulewalk with scipy.optimize.leastsq
Mon Jan 16 16:56:17 CST 2012
On Mon, Jan 16, 2012 at 5:13 PM, klo uo <firstname.lastname@example.org> wrote:
> H(z) = yulewalk(N,frq,mag) - finds the N-th order iir filter:
> H(z) : filter B(z)/A(z)
> N : integer (order of desired filter)
> frq : real row vector (non-decreasing order), frequencies.
> mag : non negative real row vector (same size as frq), desired magnitudes.
> yulewalk() function in "/scipy/signal/filter_design.py" is empty. It
> perhaps can be calculated using scipy.optimize.leastsq() but I lack skills
> to figure out how?
> All I can do right now is port it quick and dirty from Matlab to Python,
> but I feel it's bad idea and waste of time
> Can someone provide tip how can I calculate 10-th order yulewalk with
I have no idea about whether or how it can be used for filter design?
For estimation of the filter from data, the Yule Walker equations can only
estimate a autoregressive process, not an IIR filter (ARMA process).
statsmodels has yule walker for estimating the autoregressive filter, and
ARMA for estimating an IIR filter.
autoregressive can also be estimated with nitime and scikits.audiolab.
The only python package I know that can estimate an ARMA filter is
> SciPy-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User