summaryrefslogtreecommitdiff
path: root/grc/blocks/gr_transcendental.xml
diff options
context:
space:
mode:
authorTom Rondeau2011-10-18 16:16:04 -0700
committerTom Rondeau2011-10-18 16:20:00 -0700
commitf76eab20ff3811690f5dcbaa04d2c4e41f4b298b (patch)
tree4e0b04dfcb9afcf377e0ef1732efa5977205cc15 /grc/blocks/gr_transcendental.xml
parenta01c42495ecd9f3a8b34c3e10cfd0e9fec1f26c4 (diff)
downloadgnuradio-f76eab20ff3811690f5dcbaa04d2c4e41f4b298b.tar.gz
gnuradio-f76eab20ff3811690f5dcbaa04d2c4e41f4b298b.tar.bz2
gnuradio-f76eab20ff3811690f5dcbaa04d2c4e41f4b298b.zip
added transcendental block from jblum/transcendental (reworked for master branch).
Diffstat (limited to 'grc/blocks/gr_transcendental.xml')
-rw-r--r--grc/blocks/gr_transcendental.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/grc/blocks/gr_transcendental.xml b/grc/blocks/gr_transcendental.xml
new file mode 100644
index 000000000..eede447f9
--- /dev/null
+++ b/grc/blocks/gr_transcendental.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##transcendental functions
+###################################################
+ -->
+<block>
+ <name>Transcendental</name>
+ <key>gr_transcendental</key>
+ <import>from gnuradio import gr</import>
+ <make>gr.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>