optic.comm.fec.encodeDVBS2
- encodeDVBS2(bits, A)
Encode multiple binary sequences using a DVB-S2 LDPC parity-check matrix.
- Parameters:
bits (np.array of shape (k, N)) – Binary input sequences to be encoded. Each column represents a bit sequence of length \(k\).
A (np.array of shape (m, k)) – Matrix corresponding to the first \(k\) columns of the parity-check matrix \(H\).
- Returns:
codewords – Binary encoded codewords. Each column is a codeword of length \(n\) corresponding to the respective input bit sequence.
- Return type:
np.array of shape (n, N)