Complex to Mag^2 gr_complex_to_mag_squared from gnuradio import gr gr.complex_to_mag_squared($vlen) Vec Length vlen 1 int $vlen > 0 in complex $vlen out float $vlen