~ubuntu-branches/ubuntu/precise/gnuradio/precise

« back to all changes in this revision

Viewing changes to grc/blocks/gr_fft_filter_xxx.xml

  • Committer: Bazaar Package Importer
  • Author(s): Kamal Mostafa
  • Date: 2010-03-13 07:46:01 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100313074601-zjsa893a87bozyh7
Tags: 3.2.2.dfsg-1ubuntu1
* Fix build for Ubuntu lucid (LP: #260406)
  - add binary package dep for libusrp0, libusrp2-0: adduser
  - debian/rules clean: remove pre-built Qt moc files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!--
 
3
###################################################
 
4
##FFT Filter
 
5
###################################################
 
6
 -->
 
7
<block>
 
8
        <name>FFT Filter</name>
 
9
        <key>gr_fft_filter_xxx</key>
 
10
        <import>from gnuradio import gr</import>
 
11
        <import>from gnuradio.gr import firdes</import>
 
12
        <make>gr.fft_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>Float->Float (Real Taps)</name>
 
27
                        <key>fff</key>
 
28
                        <opt>input:float</opt>
 
29
                        <opt>output:float</opt>
 
30
                        <opt>taps:real_vector</opt>
 
31
                </option>
 
32
        </param>
 
33
        <param>
 
34
                <name>Decimation</name>
 
35
                <key>decim</key>
 
36
                <value>1</value>
 
37
                <type>int</type>
 
38
        </param>
 
39
        <param>
 
40
                <name>Taps</name>
 
41
                <key>taps</key>
 
42
                <type>$type.taps</type>
 
43
        </param>
 
44
        <sink>
 
45
                <name>in</name>
 
46
                <type>$type.input</type>
 
47
        </sink>
 
48
        <source>
 
49
                <name>out</name>
 
50
                <type>$type.output</type>
 
51
        </source>
 
52
</block>