summaryrefslogtreecommitdiff
path: root/grc/data/platforms/python/blocks/gr_rms_xx.xml
blob: 1e0947192bf8f1bc09619cc0efb8d777a8172516 (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
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0"?>
<!--
###################################################
##RMS
###################################################
 -->
<block>
	<name>RMS</name>
	<key>gr_rms_xx</key>
	<import>from gnuradio import gr</import>
	<make>gr.rms_$(type.fcn)f($alpha)</make>
	<callback>set_alpha($alpha)</callback>
	<param>
		<name>Input Type</name>
		<key>type</key>
		<type>enum</type>
		<option>
			<name>Complex</name>
			<key>complex</key>
			<opt>fcn:c</opt>
		</option>
		<option>
			<name>Float</name>
			<key>float</key>
			<opt>fcn:f</opt>
		</option>
	</param>
	<param>
		<name>Alpha</name>
		<key>alpha</key>
		<type>real</type>
	</param>
	<sink>
		<name>in</name>
		<type>$type</type>
	</sink>
	<source>
		<name>out</name>
		<type>float</type>
	</source>
</block>