diff options
author | Tom Rondeau | 2012-05-08 22:07:05 -0400 |
---|---|---|
committer | Tom Rondeau | 2012-05-08 22:07:05 -0400 |
commit | 4f08cb7eb6e3ac4b7315b4b78dbc7d812b6c3dd1 (patch) | |
tree | 6e3c65e1b34510f4f9a33986531239a4fae0109e /gr-filter/grc | |
parent | df09c431d1ab1f9fd0645b6d5187d5eaec4699b8 (diff) | |
download | gnuradio-4f08cb7eb6e3ac4b7315b4b78dbc7d812b6c3dd1.tar.gz gnuradio-4f08cb7eb6e3ac4b7315b4b78dbc7d812b6c3dd1.tar.bz2 gnuradio-4f08cb7eb6e3ac4b7315b4b78dbc7d812b6c3dd1.zip |
filter: copied over pfb_channelizer to gr-filter with QA and GRC.
Diffstat (limited to 'gr-filter/grc')
-rw-r--r-- | gr-filter/grc/CMakeLists.txt | 1 | ||||
-rw-r--r-- | gr-filter/grc/filter_block_tree.xml | 1 | ||||
-rw-r--r-- | gr-filter/grc/pfb_channelizer.xml | 62 |
3 files changed, 64 insertions, 0 deletions
diff --git a/gr-filter/grc/CMakeLists.txt b/gr-filter/grc/CMakeLists.txt index 6ace8a8b4..1c69e47c3 100644 --- a/gr-filter/grc/CMakeLists.txt +++ b/gr-filter/grc/CMakeLists.txt @@ -23,6 +23,7 @@ install(FILES fft_filter_xxx.xml filter_delay_fc.xml hilbert_fc.xml + pfb_channelizer.xml DESTINATION ${GRC_BLOCKS_DIR} COMPONENT "filter_python" ) diff --git a/gr-filter/grc/filter_block_tree.xml b/gr-filter/grc/filter_block_tree.xml index fbc4e7cb5..0c685d9f6 100644 --- a/gr-filter/grc/filter_block_tree.xml +++ b/gr-filter/grc/filter_block_tree.xml @@ -34,5 +34,6 @@ <block>fft_filter_xxx</block> <block>filter_delay_fc</block> <block>hilbert_fc</block> + <block>pfb_channelizer_ccf</block> </cat> </cat> diff --git a/gr-filter/grc/pfb_channelizer.xml b/gr-filter/grc/pfb_channelizer.xml new file mode 100644 index 000000000..114abc0f0 --- /dev/null +++ b/gr-filter/grc/pfb_channelizer.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Polyphase Channelizer +################################################### + --> +<block> + <name>Polyphase Channelizer</name> + <key>pfb_channelizer_ccf</key> + <import>from gnuradio import filter</import> + <import>from gnuradio.filter import firdes</import> + <make>filter.pfb.channelizer_ccf( + $nchans, + $taps, + $osr, + $atten) +self.$(id).set_channel_map($ch_map) + </make> + <!-- Set taps not implemented yet + <callback>set_taps($taps)</callback> + --> + <callback>set_channel_map($ch_map)</callback> + + <param> + <name>Channels</name> + <key>nchans</key> + <type>int</type> + </param> + <param> + <name>Taps</name> + <key>taps</key> + <value>None</value> + <type>real_vector</type> + </param> + <param> + <name>Over Sample Ratio</name> + <key>osr</key> + <value>1.0</value> + <type>real</type> + </param> + <param> + <name>Attenuation</name> + <key>atten</key> + <value>100</value> + <type>real</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> + </sink> + <source> + <name>out</name> + <type>complex</type> + <nports>$nchans</nports> + </source> +</block> |