Constellation Sink
wxgui_constellationsink2
from gnuradio.wxgui import constsink_gl
#set $parent = $notebook() and 'self.%s.GetPage(%s)'%$notebook() or 'self'
constsink_gl.const_sink_c(
$(parent).GetWin(),
title=$title,
sample_rate=$samp_rate,
frame_rate=$frame_rate,
const_size=$const_size,
M=$M,
theta=$theta,
alpha=$alpha,
fmax=$fmax,
mu=$mu,
gain_mu=$gain_mu,
symbol_rate=$symbol_rate,
omega_limit=$omega_limit,
)
#if not $grid_pos()
$(parent).Add(self.$(id).win)
#else
$(parent).GridAdd(self.$(id).win, $(', '.join(map(str, $grid_pos()))))
#end if
set_sample_rate($samp_rate)
Title
title
Constellation Plot
string
Sample Rate
samp_rate
samp_rate
real
Frame Rate
frame_rate
5
real
Constellation Size
const_size
2048
real
M
M
4
int
Theta
theta
0
real
Alpha
alpha
0.005
real
Max Freq
fmax
0.06
real
Mu
mu
0.5
real
Gain Mu
gain_mu
0.005
real
Symbol Rate
symbol_rate
samp_rate/4.
real
Omega Limit
omega_limit
0.005
real
Grid Position
grid_pos
grid_pos
Notebook
notebook
notebook
in
complex
Use the Grid Position (row, column, row span, column span) to position the graphical element in the window.
Use the Notebook Param (notebook-id, page-index) to place the graphical element inside of a notebook page.