[SciPy-user] scipy.signal.firwin
Jan Rauberg
jan.rauberg at gmx.de
Fri Mar 20 03:25:59 EDT 2009
Lev Givon <lev <at> columbia.edu> writes:
>
> 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.
>
Thank you for the fast response. But in the way as you described I get an
inverted low pass figure. That's not a high pass and no solution for my problem
too. Perhaps there is another solution? J.R.
More information about the SciPy-User
mailing list