Reed-Solomon Coding¶
A Python wrapper around the AFF3CT [1] project, transferring the Reed-Solomon [2] implementations to the Hermes forward error correction pipeline structure.
- class ReedSolomonCoding(self: hermespy.fec.aff3ct.rs.ReedSolomonCoding, arg0: SupportsInt | SupportsIndex, arg1: SupportsInt | SupportsIndex)[source]¶
Bases:
pybind11_object- Parameters:
data_block_size – Number of data bits per block to be encoded.
correction_power – Number of symbol errors the coding may correct.
- decode(self: hermespy.fec.aff3ct.rs.ReedSolomonCoding, arg0: Annotated[numpy.typing.ArrayLike, numpy.int32]) numpy.typing.NDArray[numpy.int32][source]¶
Decode a block of code bits to data bits.
- Parameters:
code – The code bit block to be decoded.
Returns: The data bit block after decoding.
- encode(self: hermespy.fec.aff3ct.rs.ReedSolomonCoding, arg0: Annotated[numpy.typing.ArrayLike, numpy.int32]) numpy.typing.NDArray[numpy.int32][source]¶
Encode a block of data bits to code bits.
- Parameters:
data – The data bit block to be encoded.
Returns: The code bit block after encoding.