summaryrefslogtreecommitdiff
path: root/gr-trellis/src/examples/test_sccc_turbo.py
diff options
context:
space:
mode:
authorTom Rondeau2011-10-25 18:24:36 -0400
committerTom Rondeau2011-10-25 18:24:36 -0400
commitefb131ee516c933e13516287a423764b794e2926 (patch)
tree6ac258fc40ba2b8afc10849022cd7c0c3f9ef7ef /gr-trellis/src/examples/test_sccc_turbo.py
parentf16368396d354e3206f75f5282aeea4ad382ab88 (diff)
downloadgnuradio-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_turbo.py')
-rwxr-xr-xgr-trellis/src/examples/test_sccc_turbo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-trellis/src/examples/test_sccc_turbo.py b/gr-trellis/src/examples/test_sccc_turbo.py
index 703ee410b..b1007a864 100755
--- a/gr-trellis/src/examples/test_sccc_turbo.py
+++ b/gr-trellis/src/examples/test_sccc_turbo.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
@@ -11,7 +11,7 @@ import fsm_utils
def make_rx(tb,fo,fi,dimensionality,constellation,K,interleaver,IT,Es,N0,type):
- metrics_in = trellis.metrics_f(fi.O(),dimensionality,constellation,trellis.TRELLIS_EUCLIDEAN) # data preprocessing to generate metrics for innner Viterbi
+ metrics_in = trellis.metrics_f(fi.O(),dimensionality,constellation,digital.TRELLIS_EUCLIDEAN) # data preprocessing to generate metrics for innner Viterbi
scale = gr.multiply_const_ff(1.0/N0)
gnd = gr.vector_source_f([0],True);