[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] trellis.viterbi function_2part
From: |
Simone80 |
Subject: |
[Discuss-gnuradio] trellis.viterbi function_2part |
Date: |
Fri, 26 Feb 2010 07:50:08 -0800 (PST) |
Thanks Achilleas.
I read all the documentation concerning the trellis, and the final idea that
comes to me is to write a code like the following (to implement the
convolutional decoding 1/2, poly 91,121, constraint len 7):
input_length = 48
output_length = 24
src_data = [1.0 for index in range (input_length)]
src = gr.vector_source_f (src_data, False, input_length)
f = trellis.fsm (1,2,[91,121])
my_trellis_viterbi = trellis.viterbi_i (f,24,-1,-1)
dst = gr.vector_sink_i (output_length)
self.fg.connect (src, my_trellis_viterbi)
self.fg.connect (my_trellis_viterbi, dst)
self.fg.run ()
dec_temp = dst.data ()
why do you think it does not work? The error is always a mismatch of
dimensions between inputs and outpus.
Thx,
Simone.
--
View this message in context:
http://old.nabble.com/trellis.viterbi-function_2part-tp27719893p27719893.html
Sent from the GnuRadio mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Discuss-gnuradio] trellis.viterbi function_2part,
Simone80 <=