[SciPy-user] Band pass filter design

vincenzo cacciatore vincenzo.cacciatore at gmail.com
Mon Apr 3 06:06:53 CDT 2006


Hi all,
i would like to design a high pass filter with scipy.signal module.

This is the code i'm using to:

import scipy.signal as signal
import scipy

#first of all i design the lowpass fir filter. This is a 10 taps filter
with cutoff frequency =1 (as help tell me to do)

lpwindow=signal.firwin(10,1)

#with the following instruction i'm creating a band pass filter from
the low pass one
bpwindow=signal.lp2bp(lpwindow,1,0.5,0.2)

My problem is that the band-pass filter obtained with lp2bp function is
16 taps one!
How is it possible??

thanks,

Vincenzo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scipy.net/pipermail/scipy-user/attachments/20060403/fc903bf4/attachment.htm


More information about the SciPy-user mailing list