Symbol Precoding¶
- class TransmitSymbolEncoder[source]¶
Bases:
TransmitEncoder
[TransmitSymbolCoding
]- abstract encode_symbols(symbols, num_output_streams)[source]¶
Encode a data stream before transmission.
This operation may modify the number of streams as well as the number of data symbols per stream.
- Parameters:
symbols (StatedSymbols) – Symbols to be encoded.
num_output_streams (int) – Number of required output streams after encoding.
- Return type:
Returns: Encoded symbols.
- class ReceiveSymbolDecoder[source]¶
Bases:
ReceiveDecoder
[ReceiveSymbolCoding
]- abstract decode_symbols(symbols, num_output_streams)[source]¶
Decode a data stream before reception.
This operation may modify the number of streams as well as the number of data symbols per stream.
- Parameters:
symbols (StatedSymbols) – Symbols to be decoded.
num_output_streams (int) – Number of required output streams after decoding.
- Return type:
Returns: Decoded symbols.