3 ###################################################
5 ###################################################
8 <name>Waterfall Sink</name>
9 <key>wxgui_waterfallsink2</key>
10 <import>from gnuradio.wxgui import waterfallsink2</import>
11 <make>#set $parent = $notebook() and 'self.%s.GetPage(%s)'%$notebook() or 'self'
12 waterfallsink2.$(type.fcn)(
14 baseband_freq=$baseband_freq,
17 sample_rate=$samp_rate,
20 average=$options.average,
21 avg_alpha=#if $avg_alpha() then $avg_alpha else 'None'#,
25 $(parent).Add(self.$(id).win)
27 $(parent).GridAdd(self.$(id).win, $(', '.join(map(str, $grid_pos()))))
29 <callback>set_baseband_freq($baseband_freq)</callback>
30 <callback>set_sample_rate($samp_rate)</callback>
34 <value>complex</value>
39 <opt>fcn:waterfall_sink_c</opt>
44 <opt>fcn:waterfall_sink_f</opt>
50 <value>Waterfall Plot</value>
54 <name>Sample Rate</name>
56 <value>samp_rate</value>
60 <name>Baseband Freq</name>
61 <key>baseband_freq</key>
66 <name>Y per Div</name>
72 <name>Reference Level</name>
90 <name>Average Alpha</name>
103 <opt>average:False</opt>
108 <opt>average:True</opt>
112 <name>Grid Position</name>
115 <type>grid_pos</type>
118 <name>Notebook</name>
121 <type>notebook</type>
128 Set Average Alpha to 0 for automatic setting.
130 Use the Grid Position (row, column, row span, column span) to position the graphical element in the window.
132 Use the Notebook Param (notebook-id, page-index) to place the graphical element inside of a notebook page.