Keep M in N blocks_keep_m_in_n from gnuradio import blocks blocks.keep_m_in_n($type.size, $m, $n, $offset) set_offset($offset) set_m($m) set_n($n) Type type enum M m 1 int N n 2 int initial offset offset 0 int $n > 0 $m > 0 $m < $n in $type 1 out $type 1