summaryrefslogtreecommitdiff
path: root/grc/blocks/gr_complex_to_mag_squared.xml
blob: cd23bfb5c5d62ec14fc4cf0549a0a1e225891520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0"?>
<!--
###################################################
##Complex to Magnitude Squared
###################################################
 -->
<block>
	<name>Complex to Mag^2</name>
	<key>gr_complex_to_mag_squared</key>
	<import>from gnuradio import gr</import>
	<make>gr.complex_to_mag_squared($vlen)</make>
	<param>
		<name>Vec Length</name>
		<key>vlen</key>
		<value>1</value>
		<type>int</type>
	</param>
	<check>$vlen &gt; 0</check>
	<sink>
		<name>in</name>
		<type>complex</type>
		<vlen>$vlen</vlen>
	</sink>
	<source>
		<name>out</name>
		<type>float</type>
		<vlen>$vlen</vlen>
	</source>
</block>