AGC2 gr_agc2_xx from gnuradio import gr gr.agc2_$(type.fcn)($attack_rate, $decay_rate, $reference, $gain, $max_gain) set_attack_rate($attack_rate) set_decay_rate($decay_rate) set_reference($reference) set_gain($gain) set_max_gain($max_gain) Type type enum Attack Rate attack_rate 1e-1 real Decay Rate decay_rate 1e-2 real Reference reference 1.0 real Gain gain 1.0 real Max Gain max_gain 0.0 real in $type out $type