[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] gr.firdes.band_reject()
From: |
Berndt Josef Wulf |
Subject: |
[Discuss-gnuradio] gr.firdes.band_reject() |
Date: |
Mon, 20 Nov 2006 10:12:34 +1030 |
User-agent: |
KMail/1.9.4 |
G'day,
I have a problem using the above function. My assumption is that band_reject
means the rejection of a portion of a spectrum as used in notch filters. The
following filter design does not show up the expected notch in the spectrum.
To the contrary, the spectrum shows a slight increase of the noise contents
at 1000Hz.
sample_rate = 48000
frequency = 1000
bandwidth = 100
coeffs = gr.firdes.band_reject(
1.0,
sample_rate,
frequency - (bandwidth/2),
frequency + (bandwidth/2),
50,
gr.firdes.WIN_HANN)
filter = gr.fir_filter_fcc(1, coeffs)
The band/low/high pass filters work as expected. I use gr.noise_source and
fft_sink to verify the design. What am I doing wrong?
cheerio Berndt
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Discuss-gnuradio] gr.firdes.band_reject(),
Berndt Josef Wulf <=