diff options
author | Ben Reynwar | 2011-01-30 21:58:09 -0700 |
---|---|---|
committer | Ben Reynwar | 2011-01-30 22:45:16 -0700 |
commit | 8f81162fbd94c708e71caf2f402588db4d1d82c6 (patch) | |
tree | 12278358a599b83c9c41bbbaff1a7c8db6c4fe4e /gnuradio-core/src/python | |
parent | 0e8c354254481d57af568af9250a8e9ea4f6904d (diff) | |
download | gnuradio-8f81162fbd94c708e71caf2f402588db4d1d82c6.tar.gz gnuradio-8f81162fbd94c708e71caf2f402588db4d1d82c6.tar.bz2 gnuradio-8f81162fbd94c708e71caf2f402588db4d1d82c6.zip |
Added ofdm_frame_sink2. Like ofdm_frame_sink but uses constellation object.
Diffstat (limited to 'gnuradio-core/src/python')
-rw-r--r-- | gnuradio-core/src/python/gnuradio/blks2impl/ofdm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/python/gnuradio/blks2impl/ofdm.py b/gnuradio-core/src/python/gnuradio/blks2impl/ofdm.py index 7e01e67b4..997df0bdf 100644 --- a/gnuradio-core/src/python/gnuradio/blks2impl/ofdm.py +++ b/gnuradio-core/src/python/gnuradio/blks2impl/ofdm.py @@ -216,11 +216,11 @@ class ofdm_demod(gr.hier_block2): self._occupied_tones, self._snr, preambles, options.log) - constell = modulation_utils2.type_1_constellations()[self._modulation](arity).points() + constell = modulation_utils2.type_1_constellations()[self._modulation](arity) phgain = 0.25 frgain = phgain*phgain / 4.0 - self.ofdm_demod = gr.ofdm_frame_sink(constell, range(arity), + self.ofdm_demod = gr.ofdm_frame_sink2(constell.base(), self._rcvd_pktq, self._occupied_tones, phgain, frgain) |