summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/pfb/channelize.py
diff options
context:
space:
mode:
authorTom Rondeau2012-02-28 23:56:28 -0500
committerTom Rondeau2012-02-28 23:56:28 -0500
commit030cfac62db69b8eb19ae5a79ae6ec71d113b47b (patch)
tree60b651484a59a169e3c86df4f2cab35a71a5c195 /gnuradio-examples/python/pfb/channelize.py
parent06b9d21dac84b97b8da1a72547bf936f30fe8340 (diff)
parent91bbef469b054dfd56c03d9fc027972ec102a4a9 (diff)
downloadgnuradio-030cfac62db69b8eb19ae5a79ae6ec71d113b47b.tar.gz
gnuradio-030cfac62db69b8eb19ae5a79ae6ec71d113b47b.tar.bz2
gnuradio-030cfac62db69b8eb19ae5a79ae6ec71d113b47b.zip
Merge branch 'synth' into next
Diffstat (limited to 'gnuradio-examples/python/pfb/channelize.py')
-rwxr-xr-xgnuradio-examples/python/pfb/channelize.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnuradio-examples/python/pfb/channelize.py b/gnuradio-examples/python/pfb/channelize.py
index 999e5d20e..2fcb14a36 100755
--- a/gnuradio-examples/python/pfb/channelize.py
+++ b/gnuradio-examples/python/pfb/channelize.py
@@ -68,7 +68,7 @@ class pfb_top_block(gr.top_block):
self.head = gr.head(gr.sizeof_gr_complex, self._N)
# Construct the channelizer filter
- self.pfb = blks2.pfb_channelizer_ccf(self._M, self._taps)
+ self.pfb = blks2.pfb_channelizer_ccf(self._M, self._taps, 1)
# Construct a vector sink for the input signal to the channelizer
self.snk_i = gr.vector_sink_c()
@@ -77,6 +77,9 @@ class pfb_top_block(gr.top_block):
self.connect(self.add, self.head, self.pfb)
self.connect(self.add, self.snk_i)
+ # Use this to play with the channel mapping
+ #self.pfb.set_channel_map([5,6,7,8,0,1,2,3,4])
+
# Create a vector sink for each of M output channels of the filter and connect it
self.snks = list()
for i in xrange(self._M):