[SciPy-user] Time varying lfilter?

Joseph Anderson j.anderson at hull.ac.uk
Mon Apr 28 11:24:35 EDT 2008


Hello All,

I'm wondering if anyone has any advice on realizing time varying
di?erence-equation filtering in SciPy? In other words, I'd like to filter a
signal with difference eqn coefficients (b's and a's) varying in time.

While it is possible to call signal.lfilter repeatedly in a for loop for
each member of an input array (saving state between calls, and assigning new
diff eqn coefficients), this isn't particularly fast.

Any advice?

Thanks in advance.



My regards,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr Joseph Anderson
Lecturer in Music

School of Arts and New Media
University of Hull, Scarborough Campus,
Scarborough, North Yorkshire, YO11 3AZ, UK

T: +44.(0)1723.357341 T: +44.(0)1723.357370 F: +44.(0)1723.350815
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


*****************************************************************************************
To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************



More information about the SciPy-User mailing list