summaryrefslogtreecommitdiff
path: root/gr-blocks/grc/blocks_transcendental.xml
blob: a883a2eefc9ec6532ed2e3ec66d0b9108d3410a9 (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"?>
<!--
###################################################
##transcendental functions
###################################################
 -->
<block>
	<name>Transcendental</name>
	<key>blocks_transcendental</key>
	<import>from gnuradio import blocks</import>
	<make>blocks.transcendental($name, "$type")</make>
	<param>
		<name>Type</name>
		<key>type</key>
		<type>enum</type>
		<option>
			<name>Complex</name>
			<key>complex_double</key>
			<opt>type:complex</opt>
		</option>
		<option>
			<name>Float</name>
			<key>float</key>
			<opt>type:float</opt>
		</option>
	</param>
	<param>
		<name>Function Name</name>
		<key>name</key>
		<value>cos</value>
		<type>string</type>
	</param>
	<sink>
		<name>in</name>
		<type>$type.type</type>
	</sink>
	<source>
		<name>out</name>
		<type>$type.type</type>
	</source>
</block>