Imported Upstream version 3.2.2
[debian/gnuradio] / grc / blocks / gr_fir_filter_xxx.xml
1 <?xml version="1.0"?>
2 <!--
3 ###################################################
4 ##Decimating FIR Filter
5 ###################################################
6  -->
7 <block>
8         <name>Decimating FIR Filter</name>
9         <key>gr_fir_filter_xxx</key>
10         <import>from gnuradio import gr</import>
11         <import>from gnuradio.gr import firdes</import>
12         <make>gr.fir_filter_$(type)($decim, $taps)</make>
13         <callback>set_taps($taps)</callback>
14         <param>
15                 <name>Type</name>
16                 <key>type</key>
17                 <type>enum</type>
18                 <option>
19                         <name>Complex->Complex (Complex Taps)</name>
20                         <key>ccc</key>
21                         <opt>input:complex</opt>
22                         <opt>output:complex</opt>
23                         <opt>taps:complex_vector</opt>
24                 </option>
25                 <option>
26                         <name>Complex->Complex (Real Taps)</name>
27                         <key>ccf</key>
28                         <opt>input:complex</opt>
29                         <opt>output:complex</opt>
30                         <opt>taps:real_vector</opt>
31                 </option>
32                 <option>
33                         <name>Float->Complex (Complex Taps)</name>
34                         <key>fcc</key>
35                         <opt>input:float</opt>
36                         <opt>output:complex</opt>
37                         <opt>taps:complex_vector</opt>
38                 </option>
39                 <option>
40                         <name>Float->Float (Real Taps)</name>
41                         <key>fff</key>
42                         <opt>input:float</opt>
43                         <opt>output:float</opt>
44                         <opt>taps:real_vector</opt>
45                 </option>
46                 <option>
47                         <name>Float->Short (Real Taps)</name>
48                         <key>fsf</key>
49                         <opt>input:float</opt>
50                         <opt>output:short</opt>
51                         <opt>taps:real_vector</opt>
52                 </option>
53                 <option>
54                         <name>Short->Complex (Complex Taps)</name>
55                         <key>scc</key>
56                         <opt>input:short</opt>
57                         <opt>output:complex</opt>
58                         <opt>taps:complex_vector</opt>
59                 </option>
60         </param>
61         <param>
62                 <name>Decimation</name>
63                 <key>decim</key>
64                 <value>1</value>
65                 <type>int</type>
66         </param>
67         <param>
68                 <name>Taps</name>
69                 <key>taps</key>
70                 <type>$type.taps</type>
71         </param>
72         <sink>
73                 <name>in</name>
74                 <type>$type.input</type>
75         </sink>
76         <source>
77                 <name>out</name>
78                 <type>$type.output</type>
79         </source>
80 </block>