From b0f3db9a0785d69d004d65054bb70a4dd70dcb65 Mon Sep 17 00:00:00 2001 From: Tom Rondeau <trondeau@vt.edu> Date: Fri, 2 Mar 2012 16:21:30 -0500 Subject: grc: updating to new name of pfb synthesizer block. --- grc/blocks/block_tree.xml | 2 +- grc/blocks/gr_pfb_synthesis_filterbank.xml | 57 ------------------------------ grc/blocks/gr_pfb_synthesizer.xml | 57 ++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 58 deletions(-) delete mode 100644 grc/blocks/gr_pfb_synthesis_filterbank.xml create mode 100644 grc/blocks/gr_pfb_synthesizer.xml (limited to 'grc') diff --git a/grc/blocks/block_tree.xml b/grc/blocks/block_tree.xml index 6c4cc0e883..656811a16d 100644 --- a/grc/blocks/block_tree.xml +++ b/grc/blocks/block_tree.xml @@ -171,7 +171,7 @@ <!-- Polyphase filters --> <block>blks2_pfb_arb_resampler_ccf</block> <block>blks2_pfb_channelizer_ccf</block> - <block>gr_pfb_synthesis_filterbank_ccf</block> + <block>gr_pfb_synthesizer_ccf</block> <!-- Other filters --> <block>gr_single_pole_iir_filter_xx</block> <block>gr_hilbert_fc</block> diff --git a/grc/blocks/gr_pfb_synthesis_filterbank.xml b/grc/blocks/gr_pfb_synthesis_filterbank.xml deleted file mode 100644 index 823eb50c4f..0000000000 --- a/grc/blocks/gr_pfb_synthesis_filterbank.xml +++ /dev/null @@ -1,57 +0,0 @@ -<?xml version="1.0"?> -<!-- -################################################### -##Polyphase Synthesis Filterbank -################################################### - --> -<block> - <name>Polyphase Synthesis Filterbank</name> - <key>gr_pfb_synthesis_filterbank_ccf</key> - <import>from gnuradio import gr</import> - <import>from gnuradio.gr import firdes</import> - <make>gr.pfb_synthesis_filterbank_ccf( - $numchans, $taps, $twox) -self.$(id).set_channel_map($ch_map) - </make> - <callback>set_taps($taps)</callback> - <callback>set_channel_map($ch_map)</callback> - - <param> - <name>Channels</name> - <key>numchans</key> - <value>2</value> - <type>int</type> - </param> - <param> - <name>Connections</name> - <key>connections</key> - <value>2</value> - <type>int</type> - </param> - <param> - <name>Taps</name> - <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> - <value>[]</value> - <type>int_vector</type> - </param> - <sink> - <name>in</name> - <type>complex</type> - <nports>$connections</nports> - </sink> - <source> - <name>out</name> - <type>complex</type> - </source> -</block> diff --git a/grc/blocks/gr_pfb_synthesizer.xml b/grc/blocks/gr_pfb_synthesizer.xml new file mode 100644 index 0000000000..49e5cb0321 --- /dev/null +++ b/grc/blocks/gr_pfb_synthesizer.xml @@ -0,0 +1,57 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Polyphase Synthesis Filterbank +################################################### + --> +<block> + <name>Polyphase Synthesizer</name> + <key>gr_pfb_synthesizer_ccf</key> + <import>from gnuradio import gr</import> + <import>from gnuradio.gr import firdes</import> + <make>gr.pfb_synthesizer_ccf( + $numchans, $taps, $twox) +self.$(id).set_channel_map($ch_map) + </make> + <callback>set_taps($taps)</callback> + <callback>set_channel_map($ch_map)</callback> + + <param> + <name>Channels</name> + <key>numchans</key> + <value>2</value> + <type>int</type> + </param> + <param> + <name>Connections</name> + <key>connections</key> + <value>2</value> + <type>int</type> + </param> + <param> + <name>Taps</name> + <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> + <value>[]</value> + <type>int_vector</type> + </param> + <sink> + <name>in</name> + <type>complex</type> + <nports>$connections</nports> + </sink> + <source> + <name>out</name> + <type>complex</type> + </source> +</block> -- cgit v1.2.3