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

« back to all changes in this revision

Viewing changes to grc/blocks/gr_complex_to_mag_squared.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
##Complex to Magnitude Squared
 
5
###################################################
 
6
 -->
 
7
<block>
 
8
        <name>Complex to Mag^2</name>
 
9
        <key>gr_complex_to_mag_squared</key>
 
10
        <import>from gnuradio import gr</import>
 
11
        <make>gr.complex_to_mag_squared($vlen)</make>
 
12
        <param>
 
13
                <name>Vec Length</name>
 
14
                <key>vlen</key>
 
15
                <value>1</value>
 
16
                <type>int</type>
 
17
        </param>
 
18
        <check>$vlen &gt; 0</check>
 
19
        <sink>
 
20
                <name>in</name>
 
21
                <type>complex</type>
 
22
                <vlen>$vlen</vlen>
 
23
        </sink>
 
24
        <source>
 
25
                <name>out</name>
 
26
                <type>float</type>
 
27
                <vlen>$vlen</vlen>
 
28
        </source>
 
29
</block>