diff options
author | Tom Rondeau | 2011-10-25 18:24:36 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-10-25 18:24:36 -0400 |
commit | efb131ee516c933e13516287a423764b794e2926 (patch) | |
tree | 6ac258fc40ba2b8afc10849022cd7c0c3f9ef7ef /gr-trellis/src/examples/test_sccc_turbo1.py | |
parent | f16368396d354e3206f75f5282aeea4ad382ab88 (diff) | |
download | gnuradio-efb131ee516c933e13516287a423764b794e2926.tar.gz gnuradio-efb131ee516c933e13516287a423764b794e2926.tar.bz2 gnuradio-efb131ee516c933e13516287a423764b794e2926.zip |
trellis: fixed the trellis examples to look in gr-digital for the constellation information.
Diffstat (limited to 'gr-trellis/src/examples/test_sccc_turbo1.py')
-rwxr-xr-x | gr-trellis/src/examples/test_sccc_turbo1.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-trellis/src/examples/test_sccc_turbo1.py b/gr-trellis/src/examples/test_sccc_turbo1.py index 8a630c0d4..ad2ed6bf9 100755 --- a/gr-trellis/src/examples/test_sccc_turbo1.py +++ b/gr-trellis/src/examples/test_sccc_turbo1.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from gnuradio import gr -from gnuradio import trellis +from gnuradio import trellis, digital from gnuradio import eng_notation import math import sys @@ -24,7 +24,7 @@ def run_test (fo,fi,interleaver,Kb,bitspersymbol,K,dimensionality,constellation, noise = gr.noise_source_f(gr.GR_GAUSSIAN,math.sqrt(N0/2),seed) # RX - dec = trellis.sccc_decoder_combined_fs(fo,0,-1,fi,0,-1,interleaver,K,IT,trellis.TRELLIS_MIN_SUM,dimensionality,constellation,trellis.TRELLIS_EUCLIDEAN,1.0) + dec = trellis.sccc_decoder_combined_fs(fo,0,-1,fi,0,-1,interleaver,K,IT,trellis.TRELLIS_MIN_SUM,dimensionality,constellation,digital.TRELLIS_EUCLIDEAN,1.0) fsmi2s = gr.unpacked_to_packed_ss(bitspersymbol,gr.GR_MSB_FIRST) # pack FSM input symbols to shorts dst = gr.check_lfsr_32k_s() |