summaryrefslogtreecommitdiff
path: root/gr-filter/examples/decimate.py
diff options
context:
space:
mode:
authorJosh Morman <jmorman@perspectalabs.com>2020-12-17 11:47:51 -0500
committerMarcus Müller <marcus@hostalia.de>2020-12-18 22:36:14 +0100
commit96d00b4cbd4d1607f1b549d3e65e5ea3c19b876b (patch)
treec463b9d5304a5df7bc4a820e9c7835a3ef714f74 /gr-filter/examples/decimate.py
parenta94c4f228750213c20ea51a3e9a31283942052f1 (diff)
filter: update python binding hashes
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Diffstat (limited to 'gr-filter/examples/decimate.py')
-rw-r--r--gr-filter/examples/decimate.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-filter/examples/decimate.py b/gr-filter/examples/decimate.py
index 99ababaa4d..8e2f3c7c36 100644
--- a/gr-filter/examples/decimate.py
+++ b/gr-filter/examples/decimate.py
@@ -11,6 +11,7 @@
from gnuradio import gr
from gnuradio import blocks
from gnuradio import filter
+from gnuradio.fft import window
import sys, time
import numpy
@@ -40,7 +41,7 @@ class pfb_top_block(gr.top_block):
self._taps = filter.firdes.low_pass_2(1, self._fs,
200, 150,
attenuation_dB=120,
- window=filter.firdes.WIN_BLACKMAN_hARRIS)
+ window=window.WIN_BLACKMAN_hARRIS)
# Calculate the number of taps per channel for our own information
tpc = numpy.ceil(float(len(self._taps)) / float(self._decim))