diff options
Diffstat (limited to 'gr-input/grc/Calculation_Calculator.xml')
-rw-r--r-- | gr-input/grc/Calculation_Calculator.xml | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/gr-input/grc/Calculation_Calculator.xml b/gr-input/grc/Calculation_Calculator.xml deleted file mode 100644 index 070712f57..000000000 --- a/gr-input/grc/Calculation_Calculator.xml +++ /dev/null @@ -1,65 +0,0 @@ -<?xml version="1.0"?> -<block> - <name>Calculator</name> - <key>Calculation_Calculator</key> - <category>Calculation</category> - <import>import gnuradio.input.Calculator</import> - <make>gnuradio.input.Calculator.Calculator($num_inputs) -self.$(id).set_parameters($Exp,$num_inputs)</make> - -<param> -<name>Expression</name> -<key>Exp</key> -<type>string</type> -</param> - -<param> -<name>Num inputs</name> -<key>num_inputs</key> -<value>1</value> -<type>int</type> -</param> - - <sink> - <name>in0</name> - <type>float</type> - <nports>$num_inputs</nports> - </sink> -<!-- - <sink> - <name>in1</name> - <type>float</type> - <nports>4</nports> - </sink> --> - - - <source> - <name>out</name> - <type>float</type> - </source> - -<doc> - -Variable names must be a0,a1,a2 and so on. - -You can use maximum 10 variables per block. - -Example to add 5 variables: - -"a0+a1+a2+a3+a4" - -To perform Exponential(power) calculations on operators use the following: - -a0**a1 - -To perform calculations like sqrt, log or exp use the following: - -sqrt(a4) - -log(a2) - -exp(a8) - -</doc> - -</block> |