Imported Upstream version 3.2.2
[debian/gnuradio] / grc / blocks / blks2_rational_resampler_xxx.xml
1 <?xml version="1.0"?>
2 <!--
3 ###################################################
4 ##Rational Resampler
5 ###################################################
6  -->
7 <block>
8         <name>Rational Resampler</name>
9         <key>blks2_rational_resampler_xxx</key>
10         <import>from gnuradio import blks2</import>
11         <import>from gnuradio.gr import firdes</import>
12         <make>blks2.rational_resampler_$(type)(
13         interpolation=$interp,
14         decimation=$decim,
15 #if $taps()
16         taps=$taps,
17 #else
18         taps=None,
19 #end if
20 #if $fractional_bw() != 0
21         fractional_bw=$fractional_bw,
22 #else
23         fractional_bw=None,
24 #end if
25 )</make>
26         <param>
27                 <name>Type</name>
28                 <key>type</key>
29                 <type>enum</type>
30                 <option>
31                         <name>Complex->Complex (Complex Taps)</name>
32                         <key>ccc</key>
33                         <opt>input:complex</opt>
34                         <opt>output:complex</opt>
35                         <opt>taps:complex_vector</opt>
36                 </option>
37                 <option>
38                         <name>Complex->Complex (Real Taps)</name>
39                         <key>ccf</key>
40                         <opt>input:complex</opt>
41                         <opt>output:complex</opt>
42                         <opt>taps:real_vector</opt>
43                 </option>
44                 <option>
45                         <name>Float->Float (Real Taps)</name>
46                         <key>fff</key>
47                         <opt>input:float</opt>
48                         <opt>output:float</opt>
49                         <opt>taps:real_vector</opt>
50                 </option>
51         </param>
52         <param>
53                 <name>Decimation</name>
54                 <key>decim</key>
55                 <value>1</value>
56                 <type>int</type>
57         </param>
58         <param>
59                 <name>Interpolation</name>
60                 <key>interp</key>
61                 <value>1</value>
62                 <type>int</type>
63         </param>
64         <param>
65                 <name>Taps</name>
66                 <key>taps</key>
67                 <value>[]</value>
68                 <type>$type.taps</type>
69         </param>
70         <param>
71                 <name>Fractional BW</name>
72                 <key>fractional_bw</key>
73                 <value>0</value>
74                 <type>real</type>
75         </param>
76         <sink>
77                 <name>in</name>
78                 <type>$type.input</type>
79         </sink>
80         <source>
81                 <name>out</name>
82                 <type>$type.output</type>
83         </source>
84         <doc>
85 Leave taps empty for automatic value.
86 Leave fractional bandwidth 0 for automatic value.
87         </doc>
88 </block>