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

MAP decoder (BCJR) for non-systematic codes #124

Open
snerzkristall opened this issue Jan 25, 2024 · 0 comments
Open

MAP decoder (BCJR) for non-systematic codes #124

snerzkristall opened this issue Jan 25, 2024 · 0 comments

Comments

@snerzkristall
Copy link

The current MAP decoder implementation is for coding rate 1/2 but assumes that the code is systematic (based on the input parameters).
Is it possible to decode non-systematic codes like the one from the example conv_encode_decode.py with this algorithm?

# =============================================================================
# Convolutional Code 1: G(D) = [1+D^2, 1+D+D^2]
# Standard code with rate 1/2
# =============================================================================

# Number of delay elements in the convolutional encoder
memory = np.array(2, ndmin=1)

# Generator matrix
g_matrix = np.array((0o5, 0o7), ndmin=2)

# Create trellis data structure
trellis1 = cc.Trellis(memory, g_matrix)

The output of map_decode() only provides LLRs for the systematic symbols, which is just half of the whole message.

@snerzkristall snerzkristall changed the title MAP Decoder for non-systematic codes MAP decoder for non-systematic codes Jan 25, 2024
@snerzkristall snerzkristall changed the title MAP decoder for non-systematic codes MAP decoder (BCJR) for non-systematic codes Jan 25, 2024
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