[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Efficient notch filters
From: |
Berndt Josef Wulf |
Subject: |
Re: [Discuss-gnuradio] Efficient notch filters |
Date: |
Tue, 31 Jul 2007 08:47:23 +0930 |
User-agent: |
KMail/1.9.7 |
On Tuesday 31 July 2007 08:29:32 Johnathan Corgan wrote:
> Marcus Leech wrote:
> > Is there a way to produce an efficient notch filter with the bandpass
> > filter designer in Gnu Radio?
>
> You can subtract the output of a linear phase bandpass filter from the
> original signal, as long as the original signal has been delayed by the
> same number of taps as the filter before the subtraction.
I use the band_reject filter option see below:
elif options.filter_type == "nf":
coeffs = gr.firdes.band_reject(
1.0,
sample_rate,
frequency - (bandwidth/2),
frequency + (bandwidth/2),
50,
gr.firdes.WIN_HANN)
For more info consult the documentation,
cheerio Berndt