summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/channel-coding/test_tcm.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.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.py')
-rwxr-xr-xgnuradio-examples/python/channel-coding/test_tcm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-examples/python/channel-coding/test_tcm.py b/gnuradio-examples/python/channel-coding/test_tcm.py
index 0ba2e3c8ef..1f892ef996 100755
--- a/gnuradio-examples/python/channel-coding/test_tcm.py
+++ b/gnuradio-examples/python/channel-coding/test_tcm.py
@@ -83,7 +83,7 @@ def main(args):
# system parameters
f=trellis.fsm(fname) # get the FSM specification from a file
- Kb=1*16 # packet size in bits (make it multiple of 16 so it can be packed in a short)
+ Kb=1024*16 # packet size in bits (make it multiple of 16 so it can be packed in a short)
bitspersymbol = int(round(math.log(f.I())/math.log(2))) # bits per FSM input symbol
K=Kb/bitspersymbol # packet size in trellis steps
modulation = fsm_utils.psk4 # see fsm_utlis.py for available predefined modulations