commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r7523 - gnuradio/trunk/gnuradio-core/src/python/gnurad


From: trondeau
Subject: [Commit-gnuradio] r7523 - gnuradio/trunk/gnuradio-core/src/python/gnuradio/blks2impl
Date: Tue, 29 Jan 2008 12:58:51 -0700 (MST)

Author: trondeau
Date: 2008-01-29 12:58:49 -0700 (Tue, 29 Jan 2008)
New Revision: 7523

Modified:
   gnuradio/trunk/gnuradio-core/src/python/gnuradio/blks2impl/ofdm_sync_pn.py
Log:
Switched OFDM sync block to use peak detector from Kyle Jamieson. This solves 
one problem of locking up with low SNR but does not solve the big over-the-air 
problems.

Modified: 
gnuradio/trunk/gnuradio-core/src/python/gnuradio/blks2impl/ofdm_sync_pn.py
===================================================================
--- gnuradio/trunk/gnuradio-core/src/python/gnuradio/blks2impl/ofdm_sync_pn.py  
2008-01-28 19:22:51 UTC (rev 7522)
+++ gnuradio/trunk/gnuradio-core/src/python/gnuradio/blks2impl/ofdm_sync_pn.py  
2008-01-29 19:58:49 UTC (rev 7523)
@@ -86,9 +86,9 @@
         self.sigmix = gr.multiply_cc()
 
         #ML measurements input to sampler block and detect
-        self.sub1 = gr.add_const_ff(-1)
-        self.pk_detect = gr.peak_detector_fb(0.20, 0.20, 30, 0.001)
-        #self.pk_detect = gr.peak_detector2_fb()
+        #self.sub1 = gr.add_const_ff(-1)
+        #self.pk_detect = gr.peak_detector_fb(0.20, 0.20, 30, 0.001)
+        self.pk_detect = gr.peak_detector2_fb(9)
         #self.pk_detect = gr.threshold_detector_fb(0.5)
         self.regen = gr.regenerate_bb(symbol_length)
 
@@ -123,7 +123,8 @@
         self.matched_filter = gr.fir_filter_fff(1,matched_filter_taps)
         self.connect(self.normalize, self.matched_filter)
         
-        self.connect(self.matched_filter, self.sub1, self.pk_detect)
+        #self.connect(self.matched_filter, self.sub1, self.pk_detect)
+        self.connect(self.matched_filter, self.pk_detect)
         self.connect(self.pk_detect, self.regen)
         self.connect(self.regen, (self.sampler,1))
         self.connect(self.pk_detect, (self.sample_and_hold,1))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]