469,927 Members | 1,640 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,927 developers. It's quick & easy.

How can i design a band-pass filter with scipy?

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

Apr 3 '06 #1
1 3834
LabWINC wrote:
Hi all,
i would like to design a high pass filter with scipy.signal module.
...


I think you'd better ask scipy people at
<http://www.scipy.org/Mailing_Lists>. Your question requires a lot of
field specific knowledge.

Apr 3 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Craig | last post: by
reply views Thread by Kevin Menard | last post: by
17 posts views Thread by abracad_1999 | last post: by
reply views Thread by =?Utf-8?B?TXVuaXNoIFNpbmdsYQ==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.