From 230e062e51d43f389520207cf147838c666a1f21 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 28 Oct 2009 16:17:24 -0700 Subject: Added window option to wxgui fft and waterfall sink. Added rectangular window function to window.py. Average stays hidden in waterfall, fft, and numbersink wrappers (only avg_alpha shows/hides). Fixed options in waterfall wrapper to model after fft and numbersink average params. --- gr-wxgui/src/python/waterfallsink_gl.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gr-wxgui/src/python/waterfallsink_gl.py') diff --git a/gr-wxgui/src/python/waterfallsink_gl.py b/gr-wxgui/src/python/waterfallsink_gl.py index 37844399e..c6b0df65c 100644 --- a/gr-wxgui/src/python/waterfallsink_gl.py +++ b/gr-wxgui/src/python/waterfallsink_gl.py @@ -51,6 +51,7 @@ class _waterfall_sink_base(gr.hier_block2, common.wxgui_hb): ref_scale=2.0, dynamic_range=80, num_lines=256, + win=None, **kwargs #do not end with a comma ): #ensure avg alpha @@ -70,6 +71,7 @@ class _waterfall_sink_base(gr.hier_block2, common.wxgui_hb): ref_scale=ref_scale, avg_alpha=avg_alpha, average=average, + win=win, ) msgq = gr.msg_queue(2) sink = gr.message_sink(gr.sizeof_float*fft_size, msgq, True) -- cgit