Trellis Encoder trellis_encoder_xx from gnuradio import trellis trellis.encoder_$(type)(trellis.fsm($fsm_args), $init_state) Type type enum FSM Args fsm_args raw Initial State init_state int in $type.input out $type.output The fsm arguments are passed directly to the trellis.fsm() constructor.