diff options
author | Ben Reynwar <ben@reynwar.net> | 2012-09-30 17:23:19 -0700 |
---|---|---|
committer | Ben Reynwar <ben@reynwar.net> | 2012-09-30 17:23:19 -0700 |
commit | 33d9cf8800d3b4c0bbbff09b7588c21ed35e3220 (patch) | |
tree | 8c34108db2e071d1ab9dd7143b97b3c2da725221 /gr-digital/python | |
parent | 96f181f29afbae43fa449297a232637fadf426d0 (diff) |
digital: Fixed scaling bug in QAM constellations.
Diffstat (limited to 'gr-digital/python')
-rwxr-xr-x | gr-digital/python/qa_constellation.py | 4 | ||||
-rwxr-xr-x | gr-digital/python/qa_constellation_receiver.py | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gr-digital/python/qa_constellation.py b/gr-digital/python/qa_constellation.py index b17d2a0fcb..6962ec6338 100755 --- a/gr-digital/python/qa_constellation.py +++ b/gr-digital/python/qa_constellation.py @@ -69,6 +69,10 @@ tested_constellation_info = ( {'m': (2, 4, 8, 16, 32, 64), 'mod_code': tested_mod_codes, }, True, None), + (qam.qam_constellation, + {'constellation_points': (4, 16, 64), + 'mod_code': tested_mod_codes, }, + True, None), (digital_swig.constellation_bpsk, {}, True, None), (digital_swig.constellation_qpsk, {}, False, None), (digital_swig.constellation_dqpsk, {}, True, None), diff --git a/gr-digital/python/qa_constellation_receiver.py b/gr-digital/python/qa_constellation_receiver.py index 2d25433b92..fe9c923c54 100755 --- a/gr-digital/python/qa_constellation_receiver.py +++ b/gr-digital/python/qa_constellation_receiver.py @@ -39,7 +39,7 @@ SEED = 1239 # We need this many to let the frequency recovery block converge. DATA_LENGTH = 2000 # Test fails if fraction of output that is correct is less than this. -REQ_CORRECT = 0.7 +REQ_CORRECT = 0.9 # CHANNEL PARAMETERS NOISE_VOLTAGE = 0.01 |