summaryrefslogtreecommitdiff
path: root/gr-filter/grc
diff options
context:
space:
mode:
authorTom Rondeau2012-05-06 19:36:03 -0400
committerTom Rondeau2012-05-06 19:36:03 -0400
commitfc98a2a9775ab8e091413a195ce2584e5b76de99 (patch)
treeb1f69d092f83896d080de3ef9212283c69f2d06f /gr-filter/grc
parentb3987add5662344ed88be910afdb55de1097ed15 (diff)
downloadgnuradio-fc98a2a9775ab8e091413a195ce2584e5b76de99.tar.gz
gnuradio-fc98a2a9775ab8e091413a195ce2584e5b76de99.tar.bz2
gnuradio-fc98a2a9775ab8e091413a195ce2584e5b76de99.zip
filter: added filter_delay_fc to gr-filter with QA and GRC files.
Diffstat (limited to 'gr-filter/grc')
-rw-r--r--gr-filter/grc/CMakeLists.txt1
-rw-r--r--gr-filter/grc/filter_block_tree.xml1
-rw-r--r--gr-filter/grc/filter_delay_fc.xml31
3 files changed, 33 insertions, 0 deletions
diff --git a/gr-filter/grc/CMakeLists.txt b/gr-filter/grc/CMakeLists.txt
index 5241680e8..6ace8a8b4 100644
--- a/gr-filter/grc/CMakeLists.txt
+++ b/gr-filter/grc/CMakeLists.txt
@@ -21,6 +21,7 @@ install(FILES
filter_block_tree.xml
dc_blocker_xx.xml
fft_filter_xxx.xml
+ filter_delay_fc.xml
hilbert_fc.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 709aa89aa..fbc4e7cb5 100644
--- a/gr-filter/grc/filter_block_tree.xml
+++ b/gr-filter/grc/filter_block_tree.xml
@@ -32,6 +32,7 @@
<name>Filters</name>
<block>dc_blocker_xx</block>
<block>fft_filter_xxx</block>
+ <block>filter_delay_fc</block>
<block>hilbert_fc</block>
</cat>
</cat>
diff --git a/gr-filter/grc/filter_delay_fc.xml b/gr-filter/grc/filter_delay_fc.xml
new file mode 100644
index 000000000..7b77c2caf
--- /dev/null
+++ b/gr-filter/grc/filter_delay_fc.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Filter Delay
+###################################################
+ -->
+<block>
+ <name>Filter Delay</name>
+ <key>filter_delay_fc</key>
+ <import>from gnuradio import filter</import>
+ <import>from gnuradio.filter import firdes</import>
+ <make>filter.filter_delay_fc($taps)</make>
+ <param>
+ <name>Taps</name>
+ <key>taps</key>
+ <type>real_vector</type>
+ </param>
+ <sink>
+ <name>in</name>
+ <type>float</type>
+ </sink>
+ <sink>
+ <name>in</name>
+ <type>float</type>
+ <optional>1</optional>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>complex</type>
+ </source>
+</block>