[SciPy-user] scipy.signal.firwin
Lev Givon
lev at columbia.edu
Thu Mar 19 12:03:25 EDT 2009
Received from Jan Rauberg on Wed, Mar 18, 2009 at 03:48:45PM EDT:
> I'm missing the functionality of firwin like in matlab/octave fir1, so that I
> can give a 'low', 'high' and 'stop' option. I don't know how to create a FIR
> window based high pass filter. Or is there something planned for the future?
>
> Thank you
> Jan
If you want to create a high-pass filter, just specify the cutoff to
firwin and flip the signs of the obtained coefficients, i.e.,
b = -firwin(N,cutoff)
L.G.
More information about the SciPy-User
mailing list