polynomial_selector#
- sionna.phy.fec.conv.utils.polynomial_selector(rate: float, constraint_length: int) Tuple[str, ...][source]#
Returns generator polynomials for given code parameters.
The polynomials are chosen from [Moon] which are tabulated by searching for polynomials with best free distances for a given rate and constraint length.
- Parameters:
- Outputs:
gen_poly – Tuple of strings with each string being a 0,1 sequence where each polynomial is represented in binary form.
Examples
from sionna.phy.fec.conv import polynomial_selector gen_poly = polynomial_selector(rate=0.5, constraint_length=5) print(gen_poly) # ('10011', '11011')