summaryrefslogtreecommitdiff
path: root/gr-filter/examples/channelize.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-filter/examples/channelize.py')
-rwxr-xr-xgr-filter/examples/channelize.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-filter/examples/channelize.py b/gr-filter/examples/channelize.py
index affce7b57d..1f784d9b06 100755
--- a/gr-filter/examples/channelize.py
+++ b/gr-filter/examples/channelize.py
@@ -48,9 +48,9 @@ class pfb_top_block(gr.top_block):
self._ifs = M*self._fs # initial sampling rate
# Create a set of taps for the PFB channelizer
- self._taps = gr.firdes.low_pass_2(1, self._ifs, 475.50, 50,
- attenuation_dB=100,
- window=gr.firdes.WIN_BLACKMAN_hARRIS)
+ self._taps = filter.firdes.low_pass_2(1, self._ifs, 475.50, 50,
+ attenuation_dB=100,
+ window=filter.firdes.WIN_BLACKMAN_hARRIS)
# Calculate the number of taps per channel for our own information
tpc = scipy.ceil(float(len(self._taps)) / float(self._M))