summaryrefslogtreecommitdiff
path: root/grc/data/grc_gnuradio/blocks/blks2_rational_resampler_xxx.xml
diff options
context:
space:
mode:
authorjcorgan2008-08-23 02:26:15 +0000
committerjcorgan2008-08-23 02:26:15 +0000
commitd52c462e5fd3eae7d00505a64a013e811d43234c (patch)
tree6b2a9e77c095ecc273e8b2b33a4bab37cfdf2fcd /grc/data/grc_gnuradio/blocks/blks2_rational_resampler_xxx.xml
parent5c02ea03e1226ed706abeede426f0e1727f1ea25 (diff)
downloadgnuradio-d52c462e5fd3eae7d00505a64a013e811d43234c.tar.gz
gnuradio-d52c462e5fd3eae7d00505a64a013e811d43234c.tar.bz2
gnuradio-d52c462e5fd3eae7d00505a64a013e811d43234c.zip
Merged changeset r9285:9377 from jblum/grc into trunk, with distcheck fixes
and local modifications. Integrates previously separate GNU Radio Companion into top-level component 'grc'. (Josh Blum) git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9378 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/data/grc_gnuradio/blocks/blks2_rational_resampler_xxx.xml')
-rw-r--r--grc/data/grc_gnuradio/blocks/blks2_rational_resampler_xxx.xml88
1 files changed, 88 insertions, 0 deletions
diff --git a/grc/data/grc_gnuradio/blocks/blks2_rational_resampler_xxx.xml b/grc/data/grc_gnuradio/blocks/blks2_rational_resampler_xxx.xml
new file mode 100644
index 000000000..2f81a50e5
--- /dev/null
+++ b/grc/data/grc_gnuradio/blocks/blks2_rational_resampler_xxx.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Rational Resampler
+###################################################
+ -->
+<block>
+ <name>Rational Resampler</name>
+ <key>blks2_rational_resampler_xxx</key>
+ <import>from gnuradio import blks2</import>
+ <import>from gnuradio.gr import firdes</import>
+ <make>blks2.rational_resampler_$(type)(
+ interpolation=$interp,
+ decimation=$decim,
+#if $taps.eval
+ taps=$taps,
+#else
+ taps=None,
+#end if
+#if $fractional_bw.eval != 0
+ fractional_bw=$fractional_bw,
+#else
+ fractional_bw=None,
+#end if
+)</make>
+ <param>
+ <name>Type</name>
+ <key>type</key>
+ <type>enum</type>
+ <option>
+ <name>Complex->Complex (Complex Taps)</name>
+ <key>ccc</key>
+ <opt>input:complex</opt>
+ <opt>output:complex</opt>
+ <opt>taps:complex_vector</opt>
+ </option>
+ <option>
+ <name>Complex->Complex (Real Taps)</name>
+ <key>ccf</key>
+ <opt>input:complex</opt>
+ <opt>output:complex</opt>
+ <opt>taps:real_vector</opt>
+ </option>
+ <option>
+ <name>Float->Float (Real Taps)</name>
+ <key>fff</key>
+ <opt>input:float</opt>
+ <opt>output:float</opt>
+ <opt>taps:real_vector</opt>
+ </option>
+ </param>
+ <param>
+ <name>Decimation</name>
+ <key>decim</key>
+ <value>1</value>
+ <type>int</type>
+ </param>
+ <param>
+ <name>Interpolation</name>
+ <key>interp</key>
+ <value>1</value>
+ <type>int</type>
+ </param>
+ <param>
+ <name>Taps</name>
+ <key>taps</key>
+ <value>[]</value>
+ <type>$type.taps</type>
+ </param>
+ <param>
+ <name>Fractional BW</name>
+ <key>fractional_bw</key>
+ <value>0</value>
+ <type>real</type>
+ </param>
+ <sink>
+ <name>in</name>
+ <type>$type.input</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>$type.output</type>
+ </source>
+ <doc>
+Leave taps empty for automatic value.
+Leave fractional bandwidth 0 for automatic value.
+ </doc>
+</block>