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