summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/channel-coding/test_tcm_combined.py
diff options
context:
space:
mode:
authoranastas <anastas@221aa14e-8319-0410-a670-987f0aec2ac5>2006-08-11 11:37:02 +0000
committeranastas <anastas@221aa14e-8319-0410-a670-987f0aec2ac5>2006-08-11 11:37:02 +0000
commit5014e03e3205611c4ffb1d5ec06d3710391485e3 (patch)
treea0b7f57b9e5492db0fbe82c0900c86a652fc72e5 /gnuradio-examples/python/channel-coding/test_tcm_combined.py
parent77d25d75e11b7d574ab7073e1054cb25e66baa12 (diff)
Fixed some examples in gnuradio-examples/python/channel-coding, and added a README file
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3236 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-examples/python/channel-coding/test_tcm_combined.py')
-rwxr-xr-xgnuradio-examples/python/channel-coding/test_tcm_combined.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-examples/python/channel-coding/test_tcm_combined.py b/gnuradio-examples/python/channel-coding/test_tcm_combined.py
index 01e092a0d1..ce08631831 100755
--- a/gnuradio-examples/python/channel-coding/test_tcm_combined.py
+++ b/gnuradio-examples/python/channel-coding/test_tcm_combined.py
@@ -25,7 +25,7 @@ def run_test (f,Kb,bitspersymbol,K,dimensionality,constellation,N0,seed):
# RX
- va = trellis.viterbi_combined_s(f,dimensionality,constellation,K/bitspersymbol,0,7,trellis.TRELLIS_EUCLIDEAN) # Put -1 if the Initial/Final states are not set.
+ va = trellis.viterbi_combined_s(f,dimensionality,constellation,K/bitspersymbol,0,-1,trellis.TRELLIS_EUCLIDEAN) # Put -1 if the Initial/Final states are not set.
fsmi2s = gr.unpacked_to_packed_ss(bitspersymbol,gr.GR_MSB_FIRST) # pack FSM input symbols to shorts
dst = gr.check_lfsr_32k_s();