integrate and dump filter per specification.

not sure why the root raised cosine filter was there, so left it commented.
symbol plot of new filter compares very favorably to the old one.


git-svn-id: http://op25.osmocom.org/svn/trunk@132 65a5c917-d112-43f1-993d-58c26a4786be
This commit is contained in:
mossmann 2009-01-12 23:36:45 +00:00
parent 61e2f049e3
commit 5ac3ff77c5
1 changed files with 4 additions and 1 deletions

View File

@ -114,7 +114,10 @@ class p25_rx_block (stdgui2.std_top_block):
fm_demod = gr.quadrature_demod_cf(fm_demod_gain)
# symbol filter
symbol_decim = 1
symbol_coeffs = gr.firdes.root_raised_cosine(1.0, channel_rate, self.symbol_rate, 0.2, 500)
#symbol_coeffs = gr.firdes.root_raised_cosine(1.0, channel_rate, self.symbol_rate, 0.2, 500)
# boxcar coefficients for "integrate and dump" filter
samples_per_symbol = channel_rate // self.symbol_rate
symbol_coeffs = (1.0/samples_per_symbol,)*samples_per_symbol
symbol_filter = gr.fir_filter_fff(symbol_decim, symbol_coeffs)
# C4FM demodulator
autotuneq = gr.msg_queue(2)