Threshold blocks_threshold_ff from gnuradio import blocks blocks.threshold_ff($low, $high, $init) set_hi($high) set_lo($low) Low low -100 real High high 100 real Initial State init 0 real in float out float