MCSDecoder#
- class sionna.phy.utils.MCSDecoder(*args: Any, precision: Literal['single', 'double'] | None = None, device: str | None = None, **kwargs: Any)[source]#
Bases:
sionna.phy.block.BlockClass template for mapping a Modulation and Coding Scheme (MCS) index to the corresponding modulation order, i.e., number of bits per symbol, and coderate.
- Inputs:
mcs_index – […], torch.int32. MCS index.
mcs_table_index – […], torch.int32. MCS table index. Different tables contain different mappings.
mcs_category – […], torch.int32. Table category which may correspond, e.g., to uplink or downlink transmission.
check_index_validity – bool. If True, a ValueError is thrown if the input MCS indices are not valid for the given configuration. Defaults to True.
- Outputs:
modulation_order – […], torch.int32. Modulation order corresponding to the input MCS index.
coderate – […], torch.float. Coderate corresponding to the input MCS index.
- Parameters: