diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-08-12 19:42:31 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-08-12 19:42:31 -0400 |
commit | 78d149cd3d230ca9310401496e5770401aeb478c (patch) | |
tree | d7fda81e177653032a62c9c43f68d4a0e3ff4d42 /gr-digital/python/qam.py | |
parent | a6e56683cf74054fad6774138bea9f844c76be09 (diff) |
digital: updated blocks to make qa_constellation* tests pass.
Diffstat (limited to 'gr-digital/python/qam.py')
-rw-r--r-- | gr-digital/python/qam.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-digital/python/qam.py b/gr-digital/python/qam.py index 0635fda75e..73bad2f75b 100644 --- a/gr-digital/python/qam.py +++ b/gr-digital/python/qam.py @@ -30,7 +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_utils -import digital_swig +import digital_swig as digital # Default number of points in constellation. _def_constellation_points = 16 @@ -171,8 +171,8 @@ def qam_constellation(constellation_points=_def_constellation_points, pre_diff_code = range(0, m/2) + range(3*m/4, m) + range(m/2, 3*m/4) else: pre_diff_code = [] - constellation = digital_swig.constellation_rect(points, pre_diff_code, 4, - side, side, width, width) + constellation = digital.constellation_rect(points, pre_diff_code, 4, + side, side, width, width) return constellation # ///////////////////////////////////////////////////////////////////////////// |