Rational Resampler blks2_rational_resampler_xxx from gnuradio import blks2 from gnuradio.gr import firdes blks2.rational_resampler_$(type)( interpolation=$interp, decimation=$decim, #if $taps() taps=$taps, #else taps=None, #end if #if $fractional_bw() != 0 fractional_bw=$fractional_bw, #else fractional_bw=None, #end if ) Type type enum Decimation decim 1 int Interpolation interp 1 int Taps taps [] $type.taps Fractional BW fractional_bw 0 real in $type.input out $type.output Leave taps empty for automatic value. Leave fractional bandwidth 0 for automatic value.