Does Python/Scipy have a firls( ) replacement (i.e. a weighted, least squares, FIR filter design)?

Posted by delicasso on Stack Overflow See other posts from Stack Overflow or by delicasso
Published on 2010-04-02T19:23:10Z Indexed on 2010/04/03 16:43 UTC
Read the original article Hit count: 307

Filed under:
|
|
|
|

I am porting code from Matlab to Python and am having trouble finding a replacement for the firls( ) routine. It is used for, least-squares linear-phase Finite Impulse Response (FIR) filter design.

I looked at scipy.signal and nothing there looked like it would do the trick. Of course I was able to replace my remez and freqz algorithsm, so that's good.

On one blog I found an algorithm that implemented this filter without weighting, but I need one with weights.

Thanks, David

© Stack Overflow or respective owner

Related posts about python

Related posts about algorithm