diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2014-05-30 10:29:05 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2014-05-30 10:29:05 -0700 |
commit | a8d28ad5338a5044acbbc5c84abb20b7365c9afa (patch) | |
tree | 895749fe89e1c3cdd5e29033deac05ba681444a9 /gr-trellis/examples/python | |
parent | 220ddfabab53c4b321b42b1769c21eead0eae44e (diff) |
trellis: fix typos in examples
Diffstat (limited to 'gr-trellis/examples/python')
-rwxr-xr-x | gr-trellis/examples/python/test_cpm.py | 2 | ||||
-rwxr-xr-x | gr-trellis/examples/python/test_tcm_parallel.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-trellis/examples/python/test_cpm.py b/gr-trellis/examples/python/test_cpm.py index 99b75a7dd1..3f5cfc4587 100755 --- a/gr-trellis/examples/python/test_cpm.py +++ b/gr-trellis/examples/python/test_cpm.py @@ -101,7 +101,7 @@ def run_test(seed,blocksize): blocks_add_vxx_0 = blocks.add_vcc(1) analog_noise_source_x_0 = analog.noise_source_c(analog.GR_GAUSSIAN, (N0/2.0)**0.5, -long(seed)) - blokcs_multiply_vxx_0 = blocks.multiply_vcc(1) + blocks_multiply_vxx_0 = blocks.multiply_vcc(1) analog_sig_source_x_0 = analog.sig_source_c(Q, analog.GR_COS_WAVE, -f0T, 1, 0) # only works for N=2, do it manually for N>2... filter_fir_filter_xxx_0_0 = filter.fir_filter_ccc(Q, MF[0].conjugate()) diff --git a/gr-trellis/examples/python/test_tcm_parallel.py b/gr-trellis/examples/python/test_tcm_parallel.py index e4456890f0..b30c80811f 100755 --- a/gr-trellis/examples/python/test_tcm_parallel.py +++ b/gr-trellis/examples/python/test_tcm_parallel.py @@ -36,7 +36,7 @@ def run_test (f,Kb,bitspersymbol,K,dimensionality,constellation,N0,seed,P): # RX metrics = trellis.metrics_f(f.O(),dimensionality,constellation,digital.TRELLIS_EUCLIDEAN) # data preprocessing to generate metrics for Viterbi va = trellis.viterbi_s(f,K,0,-1) # Put -1 if the Initial/Final states are not set. - p2s = block.streams_to_stream(gr.sizeof_short,P) # parallel to serial + p2s = blocks.streams_to_stream(gr.sizeof_short,P) # parallel to serial fsmi2s=blocks.unpacked_to_packed_ss(bitspersymbol,gr.GR_MSB_FIRST) # pack FSM input symbols to shorts dst = blocks.check_lfsr_32k_s() |