diff options
author | Tom Rondeau | 2011-10-12 22:42:55 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-10-12 22:42:55 -0400 |
commit | d53109a88522d243bf684ffe1a9aad2801c52f07 (patch) | |
tree | 683f27b18e62048063b186676eddc466c845d29b /gr-digital/python/qam.py | |
parent | d47f0aeab7343fb033352e2ddb787c1dc95d660d (diff) | |
download | gnuradio-d53109a88522d243bf684ffe1a9aad2801c52f07.tar.gz gnuradio-d53109a88522d243bf684ffe1a9aad2801c52f07.tar.bz2 gnuradio-d53109a88522d243bf684ffe1a9aad2801c52f07.zip |
digital: OFDM using new psk and qam modules for constellations. Also, psk2->psk updated in all files and examples.
Diffstat (limited to 'gr-digital/python/qam.py')
-rw-r--r-- | gr-digital/python/qam.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-digital/python/qam.py b/gr-digital/python/qam.py index a5a2e6c2c..2a7e51495 100644 --- a/gr-digital/python/qam.py +++ b/gr-digital/python/qam.py @@ -30,6 +30,7 @@ from generic_mod_demod import generic_mod, generic_demod from utils.gray_code import gray_code from utils import mod_codes import modulation_utils2 +import digital_swig # Default number of points in constellation. _def_constellation_points = 16 @@ -164,7 +165,8 @@ def qam_constellation(constellation_points=_def_constellation_points, # No pre-diff code # Should add one so that we can gray-code the quadrant bits too. pre_diff_code = [] - constellation = gr.constellation_rect(points, pre_diff_code, 4, side, side, width, width) + constellation = digital_swig.constellation_rect(points, pre_diff_code, 4, + side, side, width, width) return constellation # ///////////////////////////////////////////////////////////////////////////// |