summaryrefslogtreecommitdiff
path: root/gr-wxgui/src/python/waterfallsink_gl.py
diff options
context:
space:
mode:
authorJohnathan Corgan2009-10-29 06:52:53 -0700
committerJohnathan Corgan2009-10-29 06:52:53 -0700
commit8a0affcfb6154cadd1710e682fe09f040ed05a28 (patch)
tree680e797323aa598ee497f20fc4a249c4d5aeb83c /gr-wxgui/src/python/waterfallsink_gl.py
parent005f14ca07e66056bdc8e33a0cae1d461f5e1b9d (diff)
parent230e062e51d43f389520207cf147838c666a1f21 (diff)
downloadgnuradio-8a0affcfb6154cadd1710e682fe09f040ed05a28.tar.gz
gnuradio-8a0affcfb6154cadd1710e682fe09f040ed05a28.tar.bz2
gnuradio-8a0affcfb6154cadd1710e682fe09f040ed05a28.zip
Merge branch 'flattopwindow' of http://gnuradio.org/git/jblum
Merge-fix: Remove debugging print Merge-fix: Update copyrights * 'flattopwindow' of http://gnuradio.org/git/jblum: Added window option to wxgui fft and waterfall sink. redid cos windows, added flattop and nuttall_cfd
Diffstat (limited to 'gr-wxgui/src/python/waterfallsink_gl.py')
-rw-r--r--gr-wxgui/src/python/waterfallsink_gl.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-wxgui/src/python/waterfallsink_gl.py b/gr-wxgui/src/python/waterfallsink_gl.py
index 37844399e..c2c4e8df7 100644
--- a/gr-wxgui/src/python/waterfallsink_gl.py
+++ b/gr-wxgui/src/python/waterfallsink_gl.py
@@ -1,5 +1,5 @@
#
-# Copyright 2008 Free Software Foundation, Inc.
+# Copyright 2008,2009 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -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)