summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
Diffstat (limited to 'grc')
-rw-r--r--grc/blocks/blks2_pfb_channelizer.xml7
-rw-r--r--grc/blocks/gr_pfb_synthesis_filterbank.xml14
2 files changed, 20 insertions, 1 deletions
diff --git a/grc/blocks/blks2_pfb_channelizer.xml b/grc/blocks/blks2_pfb_channelizer.xml
index aee9dd512..5a1b20edb 100644
--- a/grc/blocks/blks2_pfb_channelizer.xml
+++ b/grc/blocks/blks2_pfb_channelizer.xml
@@ -18,6 +18,8 @@
<!-- Set taps not implemented yet
<callback>set_taps($taps)</callback>
-->
+ <callback>set_channel_map(ch_$map)</callback>
+
<param>
<name>Channels</name>
<key>nchans</key>
@@ -41,6 +43,11 @@
<value>100</value>
<type>real</type>
</param>
+ <param>
+ <name>Channel Map</name>
+ <key>ch_map</key>
+ <type>int_vector</type>
+ </param>
<sink>
<name>in</name>
<type>complex</type>
diff --git a/grc/blocks/gr_pfb_synthesis_filterbank.xml b/grc/blocks/gr_pfb_synthesis_filterbank.xml
index a8b944c6a..6ea54632c 100644
--- a/grc/blocks/gr_pfb_synthesis_filterbank.xml
+++ b/grc/blocks/gr_pfb_synthesis_filterbank.xml
@@ -10,9 +10,10 @@
<import>from gnuradio import gr</import>
<import>from gnuradio.gr import firdes</import>
<make>gr.pfb_synthesis_filterbank_ccf(
- $numchans, $taps)
+ $numchans, $taps, $twox)
</make>
<callback>set_taps($taps)</callback>
+ <callback>set_channel_map($ch_map)</callback>
<param>
<name>Channels</name>
@@ -31,6 +32,17 @@
<key>taps</key>
<type>real_vector</type>
</param>
+ <param>
+ <name>2x Sample Rate</name>
+ <key>twox</key>
+ <value>False</value>
+ <type>bool</type>
+ </param>
+ <param>
+ <name>Channel Map</name>
+ <key>ch_map</key>
+ <type>int_vector</type>
+ </param>
<sink>
<name>in</name>
<type>complex</type>