Band Reject Filter band_reject_filter from gnuradio import gr from gnuradio.gr import firdes gr.$(type)(#if str($type).startswith('interp') then $interp else $decim#, firdes.band_reject( $gain, $samp_rate, $low_cutoff_freq, $high_cutoff_freq, $width, $win, $beta)) set_taps(firdes.band_reject($gain, $samp_rate, $low_cutoff_freq, $high_cutoff_freq, $width, $win, $beta)) FIR Type type enum Decimation decim 1 int #if str($type).startswith('interp') then 'all' else 'none'# Interpolation interp 1 int #if str($type).startswith('interp') then 'none' else 'all'# Gain gain 1 real Sample Rate samp_rate samp_rate real Low Cutoff Freq low_cutoff_freq real High Cutoff Freq high_cutoff_freq real Transition Width width real Window win firdes.WIN_HAMMING int Beta beta 6.76 real in $type.input out $type.output This filter is a convenience wrapper for an fir filter and a firdes taps generating function. Sample rate, cutoff frequency, and transition width are in Hertz. The beta paramater only applies to the Kaiser window.