Keep 1 in N gr_keep_one_in_n from gnuradio import gr gr.keep_one_in_n($type.size*$vlen, $n) set_n($n) Type type enum N n 1 int Vec Length vlen 1 int $n > 0 $vlen > 0 in $type $vlen out $type $vlen