diff options
author | Josh Morman <jmorman@perspectalabs.com> | 2020-12-17 11:47:51 -0500 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2020-12-18 22:36:14 +0100 |
commit | 96d00b4cbd4d1607f1b549d3e65e5ea3c19b876b (patch) | |
tree | c463b9d5304a5df7bc4a820e9c7835a3ef714f74 /gr-qtgui/examples/pyqt_waterfall_f.py | |
parent | a94c4f228750213c20ea51a3e9a31283942052f1 (diff) |
filter: update python binding hashes
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Diffstat (limited to 'gr-qtgui/examples/pyqt_waterfall_f.py')
-rw-r--r-- | gr-qtgui/examples/pyqt_waterfall_f.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-qtgui/examples/pyqt_waterfall_f.py b/gr-qtgui/examples/pyqt_waterfall_f.py index 6898ef43b5..d7778047cc 100644 --- a/gr-qtgui/examples/pyqt_waterfall_f.py +++ b/gr-qtgui/examples/pyqt_waterfall_f.py @@ -10,6 +10,7 @@ from gnuradio import gr, filter from gnuradio import blocks +from gnuradio.fft import window import sys try: @@ -133,7 +134,7 @@ class my_top_block(gr.top_block): src2 = analog.sig_source_f(Rs, analog.GR_SIN_WAVE, f2, 0.1, 0) src = blocks.add_ff() thr = blocks.throttle(gr.sizeof_float, 100*npts) - self.snk1 = qtgui.waterfall_sink_f(npts, filter.firdes.WIN_BLACKMAN_hARRIS, + self.snk1 = qtgui.waterfall_sink_f(npts, window.WIN_BLACKMAN_hARRIS, 0, Rs, "Real Waterfall Example", 2, None) self.snk1.set_color_map(0, qtgui.INTENSITY_COLOR_MAP_TYPE_COOL) |