FFT Sink wxgui_fftsink2 from gnuradio.wxgui import fftsink2 fftsink2.$(type.fcn)( self.GetWin(), baseband_freq=$baseband_freq, y_per_div=$y_per_div, y_divs=$y_divs, ref_level=$ref_level, sample_rate=$samp_rate, fft_size=$fft_size, fft_rate=$fft_rate, average=$average, #if $avg_alpha.eval == 0 avg_alpha=None, #else avg_alpha=$avg_alpha, #end if title=$title, peak_hold=$peak_hold, ) #set $grid_pos = $grid_pos.eval #if not grid_pos self.Add(self.$(id).win) #else self.GridAdd(self.$(id).win, $grid_pos[0], $grid_pos[1], $grid_pos[2], $grid_pos[3]) #end if Type type complex enum Title title FFT Plot string Sample Rate samp_rate samp_rate real Baseband Freq baseband_freq 0 real Y per Div y_per_div 10 real Y Divs y_divs 8 real Reference Level ref_level 50 real FFT Size fft_size 1024 int Refresh Rate fft_rate 30 int Average Alpha avg_alpha 0 real Average average False enum Peak Hold peak_hold False enum Grid Position grid_pos grid_pos in $type Set Average Alpha to 0 for automatic setting. Use the Grid Position (row, column, row span, column span) to position the graphical element in the window.