diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-06 12:23:05 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-03-06 12:23:05 -0500 |
commit | a770feec38cd8a188a4c4c88f34d513155b4b539 (patch) | |
tree | ac5a0263daf24c8a78868a307df68a30c9890b0b /gr-digital/python/ofdm_sync_ml.py | |
parent | a08afb0b0166cab961982f174a5cf672393b5198 (diff) |
blocks: removing blocks moved into gr-blocks:
message_strobe, message_debug, message_source, message_sink, message_burst_source, peak_detector, moving_average.
Diffstat (limited to 'gr-digital/python/ofdm_sync_ml.py')
-rw-r--r-- | gr-digital/python/ofdm_sync_ml.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-digital/python/ofdm_sync_ml.py b/gr-digital/python/ofdm_sync_ml.py index cab6ffda6c..69cfcbc7ea 100644 --- a/gr-digital/python/ofdm_sync_ml.py +++ b/gr-digital/python/ofdm_sync_ml.py @@ -84,8 +84,8 @@ class ofdm_sync_ml(gr.hier_block2): self.movingsum2 = filter.fir_filter_ccf(1,movingsum2_taps) # Correlator data handler - self.c2mag = gr.complex_to_mag() - self.angle = gr.complex_to_arg() + self.c2mag = blocks.complex_to_mag() + self.angle = blocks.complex_to_arg() self.connect(self.input,(self.mixer,1)) self.connect(self.delay,self.conjg,(self.mixer,0)) self.connect(self.mixer,self.movingsum2,self.c2mag) @@ -98,7 +98,7 @@ class ofdm_sync_ml(gr.hier_block2): #ML measurements input to sampler block and detect self.f2c = blocks.float_to_complex() - self.pk_detect = gr.peak_detector_fb(0.2, 0.25, 30, 0.0005) + self.pk_detect = blocks.peak_detector_fb(0.2, 0.25, 30, 0.0005) self.sample_and_hold = blocks.sample_and_hold_ff() # use the sync loop values to set the sampler and the NCO |