[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] gnuradio-core/src/python/gnuradio/blksimpl gmsk...
From: |
Eric Blossom |
Subject: |
[Commit-gnuradio] gnuradio-core/src/python/gnuradio/blksimpl gmsk... |
Date: |
Tue, 20 Jun 2006 03:48:37 +0000 |
CVSROOT: /sources/gnuradio
Module name: gnuradio-core
Changes by: Eric Blossom <eb> 06/06/20 03:48:37
Modified files:
src/python/gnuradio/blksimpl: gmsk2.py
Log message:
removed freq offset tracking. Possible problem with single_pole_iir_ff
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnuradio-core/src/python/gnuradio/blksimpl/gmsk2.py?cvsroot=gnuradio&r1=1.4&r2=1.5
Patches:
Index: gmsk2.py
===================================================================
RCS file:
/sources/gnuradio/gnuradio-core/src/python/gnuradio/blksimpl/gmsk2.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- gmsk2.py 30 May 2006 05:59:29 -0000 1.4
+++ gmsk2.py 20 Jun 2006 03:48:37 -0000 1.5
@@ -132,12 +132,15 @@
# Low pass the output of fmdemod to allow us to remove
# the DC offset resulting from frequency offset
- alpha = 0.0002 # FIXME, maybe 0.0008/spb
- self.freq_offset = gr.single_pole_iir_filter_ff(alpha)
- self.sub = gr.sub_ff()
+ #alpha = 0.0002 # FIXME, maybe 0.0008/spb
+ alpha = 0.0008
+ #alpha = 0.0020 # FIXME, maybe 0.0008/spb
+ #alpha = 0.0080 # FIXME, maybe 0.0008/spb
+ #self.freq_offset = gr.single_pole_iir_filter_ff(alpha)
+ #self.sub = gr.sub_ff()
- fg.connect(self.fmdemod, (self.sub, 0))
- fg.connect(self.fmdemod, self.freq_offset, (self.sub, 1))
+ #fg.connect(self.fmdemod, (self.sub, 0))
+ #fg.connect(self.fmdemod, self.freq_offset, (self.sub, 1))
# the clock recovery block tracks the symbol clock and resamples as
needed.
# the output of the block is a stream of soft symbols (float)
@@ -147,7 +150,12 @@
# slice the floats at 0, outputting 1 bit (the LSB of the output byte)
per sample
self.slicer = gr.binary_slicer_fb()
- fg.connect(self.sub, self.clock_recovery, self.slicer)
+ #fg.connect(self.sub, self.clock_recovery, self.slicer)
+ fg.connect(self.fmdemod, self.clock_recovery, self.slicer)
+
+ if 0:
+ #fg.connect(self.freq_offset, gr.file_sink(gr.sizeof_float,
'freq_offset.dat'))
+ fg.connect(self.fmdemod, gr.file_sink(gr.sizeof_float,
'demod.dat'))
# Initialize base class
gr.hier_block.__init__(self, fg, self.fmdemod, self.slicer)
- [Commit-gnuradio] gnuradio-core/src/python/gnuradio/blksimpl gmsk...,
Eric Blossom <=