summaryrefslogtreecommitdiff
path: root/gr-filter/examples/interpolate.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/interpolate.py
parenta94c4f228750213c20ea51a3e9a31283942052f1 (diff)
filter: update python binding hashes
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Diffstat (limited to 'gr-filter/examples/interpolate.py')
-rw-r--r--gr-filter/examples/interpolate.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-filter/examples/interpolate.py b/gr-filter/examples/interpolate.py
index eed63938f7..8674566e25 100644
--- a/gr-filter/examples/interpolate.py
+++ b/gr-filter/examples/interpolate.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
@@ -46,7 +47,7 @@ class pfb_top_block(gr.top_block):
self._interp*self._fs,
freq2+50, 50,
attenuation_dB=120,
- window=filter.firdes.WIN_BLACKMAN_hARRIS)
+ window=window.WIN_BLACKMAN_hARRIS)
# Create a set of taps for the PFB arbitrary resampler
# The filter size is the number of filters in the filterbank; 32 will give very low side-lobes,
@@ -58,7 +59,7 @@ class pfb_top_block(gr.top_block):
flt_size*self._fs,
freq2+50, 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._interp))