Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The output after decoding with turbo is all 0, #112

Open
haixiongli opened this issue Apr 12, 2022 · 1 comment
Open

The output after decoding with turbo is all 0, #112

haixiongli opened this issue Apr 12, 2022 · 1 comment

Comments

@haixiongli
Copy link

你好,我在使用涡轮增压编解码器时遇到了问题。使用涡轮增压解码后的输出全部为0,我不知道设置的问题在哪里。

memory = np.array(2, ndmin=1)
g_matrix = np.array((0o5, 0o7), ndmin=2)
trellis = cc.Trellis(内存,g_matrix)
interlv = inter.RandInterlv(len(msg_encode),1)
msg = cct.turbo_encode(msg_encode, trellis1 = trellis, trellis2= trellis, interleaver = interlv )
res = cct.turbo_decode(msg[0], msg[1], msg[2], trellis = trellis, noise_variance = noise_var, number_iterations = num_iter, interleaver = interlv)
@haixiongli
Copy link
Author

Hi, I'm having trouble with the turbo codec. The output after decoding with turbo is all 0, I don't know where is the problem with the setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant