summaryrefslogtreecommitdiff
path: root/gr-input/grc
diff options
context:
space:
mode:
authorAshwini2015-03-10 17:23:13 +0530
committerAshwini2015-03-10 17:23:13 +0530
commit92326794e39e1753f5fcb20715c57ea0f537752e (patch)
treee40825f34f4a6402d9acf2fdcf5600dd65ad6f56 /gr-input/grc
parentaf6398eb6e3273c005312939fb6d965f8a50baed (diff)
downloadgnuradio-92326794e39e1753f5fcb20715c57ea0f537752e.tar.gz
gnuradio-92326794e39e1753f5fcb20715c57ea0f537752e.tar.bz2
gnuradio-92326794e39e1753f5fcb20715c57ea0f537752e.zip
Deleted
Diffstat (limited to 'gr-input/grc')
-rw-r--r--gr-input/grc/CMakeLists.txt77
-rw-r--r--gr-input/grc/Calculation_Calculator.xml65
-rw-r--r--gr-input/grc/Calculation_Roots.xml34
-rw-r--r--gr-input/grc/Transfer_Function_Denominator.xml33
-rw-r--r--gr-input/grc/Transfer_Function_Numerator.xml33
-rw-r--r--gr-input/grc/Transfer_Function_Transfer_Function.xml66
-rw-r--r--gr-input/grc/Transfer_function_Denominator.xml49
-rw-r--r--gr-input/grc/Transfer_function_Numerator.xml48
-rw-r--r--gr-input/grc/Transfer_function_Response.xml80
-rwxr-xr-xgr-input/grc/plot_sink.xml112
-rw-r--r--gr-input/grc/plzr_plot.xml37
-rw-r--r--gr-input/grc/ramp_source.xml87
-rw-r--r--gr-input/grc/step_source.xml88
13 files changed, 0 insertions, 809 deletions
diff --git a/gr-input/grc/CMakeLists.txt b/gr-input/grc/CMakeLists.txt
deleted file mode 100644
index 61b317f77..000000000
--- a/gr-input/grc/CMakeLists.txt
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 2012 Free Software Foundation, Inc.
-#
-# This file is part of GNU Radio
-#
-# GNU Radio is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3, or (at your option)
-# any later version.
-#
-# GNU Radio is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GNU Radio; see the file COPYING. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street,
-# Boston, MA 02110-1301, USA.
-
-install(FILES
- step_source.xml
- DESTINATION ${GRC_BLOCKS_DIR}
- COMPONENT "input_python"
-)
-
-install(FILES
- ramp_source.xml
- DESTINATION ${GRC_BLOCKS_DIR}
- COMPONENT "input_python"
-)
-
-install(FILES
- Transfer_function_Numerator.xml
- DESTINATION ${GRC_BLOCKS_DIR}
- COMPONENT "input_python"
-)
-
-
-
-install(FILES
- Transfer_function_Denominator.xml
- DESTINATION ${GRC_BLOCKS_DIR}
- COMPONENT "input_python"
-)
-
-
-install(FILES
- Transfer_function_Denominator.xml
- DESTINATION ${GRC_BLOCKS_DIR}
- COMPONENT "input_python"
-)
-
-install(FILES
- Transfer_function_Response.xml
- DESTINATION ${GRC_BLOCKS_DIR}
- COMPONENT "input_python"
-)
-
-install(FILES
- Calculation_Roots.xml
- DESTINATION ${GRC_BLOCKS_DIR}
- COMPONENT "input_python"
-)
-
-install(FILES
- Calculation_Calculator.xml
- DESTINATION ${GRC_BLOCKS_DIR}
- COMPONENT "input_python"
-)
-
-
-install(FILES
- plot_sink.xml
- DESTINATION ${GRC_BLOCKS_DIR}
- COMPONENT "input_python"
-)
-
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>
diff --git a/gr-input/grc/Calculation_Roots.xml b/gr-input/grc/Calculation_Roots.xml
deleted file mode 100644
index 9871cad5a..000000000
--- a/gr-input/grc/Calculation_Roots.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<block>
- <name>Roots</name>
- <key>Calculation_Roots</key>
- <category>Calculation</category>
- <import>import gnuradio.input.Roots</import>
- <make>gnuradio.input.Roots.Roots($order)</make>
-
-<param>
- <name>Order of transfer function</name>
- <key>order</key>
- <value>samp_rate</value>
- <type>real</type>
-
-</param>
-
- <sink>
- <name>in</name>
- <type>float</type>
- </sink>
-<!--
- <sink>
- <name>in1</name>
- <type>float</type>
- <nports>4</nports>
- </sink> -->
-
-
- <source>
- <name>out</name>
- <type>float</type>
- <nports>2*$order</nports>
- </source>
-</block>
diff --git a/gr-input/grc/Transfer_Function_Denominator.xml b/gr-input/grc/Transfer_Function_Denominator.xml
deleted file mode 100644
index 5ea581a98..000000000
--- a/gr-input/grc/Transfer_Function_Denominator.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0"?>
-<block>
- <name>Denominator</name>
- <key>Transfer_Function_Denominator</key>
- <category>Transfer Function</category>
- <import>import gnuradio.input.Denominator</import>
- <make>gnuradio.input.Denominator.Denominator($num_inputs)</make>
-
-<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>
-</block>
diff --git a/gr-input/grc/Transfer_Function_Numerator.xml b/gr-input/grc/Transfer_Function_Numerator.xml
deleted file mode 100644
index 8bb367a62..000000000
--- a/gr-input/grc/Transfer_Function_Numerator.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0"?>
-<block>
- <name>Numerator</name>
- <key>Transfer_Function_Numerator</key>
- <category>Transfer Function</category>
- <import>import gnuradio.input.Numerator</import>
- <make>gnuradio.input.Numerator.Numerator($num_inputs)</make>
-
-<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>
-</block>
diff --git a/gr-input/grc/Transfer_Function_Transfer_Function.xml b/gr-input/grc/Transfer_Function_Transfer_Function.xml
deleted file mode 100644
index 203fe4a7b..000000000
--- a/gr-input/grc/Transfer_Function_Transfer_Function.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0"?>
-<block>
- <name>Transfer Function</name>
- <key>Transfer_Function_Transfer_Function</key>
- <category>Transfer Function</category>
- <import>import gnuradio.input.Transfer_Function</import>
- <make>gnuradio.input.Transfer_Function.Transfer_Function($order,$itype,$tstart,$tstop,$tstep)</make>
-
-<param>
- <name>Order of transfer function</name>
- <key>order</key>
- <value>1</value>
- <type>real</type>
-
-</param>
-
-
- <param>
- <name>Input Types</name>
- <key>itype</key>
- <type>enum</type>
- <option><name>Impulse</name><key>11</key></option>
- <option><name>Step</name><key>12</key></option>
- <option><name>Ramp</name><key>13</key></option>
- </param>
-
- <param>
-<name>tstart</name>
-<key>tstart</key>
-<value>0</value>
-<type>real</type>
-</param>
-
-<param>
-<name>tstop</name>
-<key>tstop</key>
-<value>0</value>
-<type>real</type>
-</param>
-
-<param>
-<name>tstep</name>
-<key>tstep</key>
-<value>0</value>
-<type>real</type>
-</param>
-
-
- <sink>
- <name>in</name>
- <type>float</type>
- <nports>2</nports>
- </sink>
-<!--
- <sink>
- <name>in1</name>
- <type>float</type>
- <nports>4</nports>
- </sink> -->
-
-
- <source>
- <name>out</name>
- <type>float</type>
- </source>
-</block>
diff --git a/gr-input/grc/Transfer_function_Denominator.xml b/gr-input/grc/Transfer_function_Denominator.xml
deleted file mode 100644
index 2ba936580..000000000
--- a/gr-input/grc/Transfer_function_Denominator.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0"?>
-<block>
- <name>Denominator</name>
- <key>Transfer_function_Denominator</key>
- <category>Transfer_function</category>
- <import>import gnuradio.input.Denominator</import>
- <make>gnuradio.input.Denominator.Denominator($num_inputs)</make>
-
-<param>
-<name>Order of Transfer Function</name>
-<key>num_inputs</key>
-<value>1</value>
-<type>int</type>
-</param>
-
- <sink>
- <name>in0</name>
- <type>float</type>
- <nports>1+$num_inputs</nports>
- </sink>
-<!--
- <sink>
- <name>in1</name>
- <type>float</type>
- <nports>4</nports>
- </sink> -->
-
-
- <source>
- <name>out</name>
- <type>float</type>
- </source>
-
-<doc>
-
-This will take the coefficient values for the Denominator.
-
-in00 = value of the coefficient of s^0
-
-in01 = value of the coefficient of s^1
-
-in02 = value of the coefficient of s^2
-
-and so on..
-
-</doc>
-
-
-</block>
diff --git a/gr-input/grc/Transfer_function_Numerator.xml b/gr-input/grc/Transfer_function_Numerator.xml
deleted file mode 100644
index 1ad34f316..000000000
--- a/gr-input/grc/Transfer_function_Numerator.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0"?>
-<block>
- <name>Numerator</name>
- <key>Transfer_function_Numerator</key>
- <category>Transfer_function</category>
- <import>import gnuradio.input.Numerator</import>
- <make>gnuradio.input.Numerator.Numerator($num_inputs)</make>
-
-<param>
-<name>Order of Transfer Function</name>
-<key>num_inputs</key>
-<value>1</value>
-<type>int</type>
-</param>
-
- <sink>
- <name>in0</name>
- <type>float</type>
- <nports>1+$num_inputs</nports>
- </sink>
-<!--
- <sink>
- <name>in1</name>
- <type>float</type>
- <nports>4</nports>
- </sink> -->
-
-
- <source>
- <name>out</name>
- <type>float</type>
- </source>
-
-<doc>
-
-This will take the coefficient values for the numerator.
-
-in00 = value of the coefficient of s^0
-
-in01 = value of the coefficient of s^1
-
-in02 = value of the coefficient of s^2
-
-and so on..
-
-</doc>
-
-</block>
diff --git a/gr-input/grc/Transfer_function_Response.xml b/gr-input/grc/Transfer_function_Response.xml
deleted file mode 100644
index cb08a4c2a..000000000
--- a/gr-input/grc/Transfer_function_Response.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-<?xml version="1.0"?>
-<block>
- <name>Response</name>
- <key>Transfer_function_Response</key>
- <category>Transfer_function</category>
- <import>import gnuradio.input.Response</import>
- <make>gnuradio.input.Response.Response($order,$itype,$tstart,$tstop,$tstep)</make>
-
-<param>
- <name>Order of transfer function</name>
- <key>order</key>
- <value>1</value>
- <type>real</type>
-
-</param>
-
-
- <param>
- <name>Input Types</name>
- <key>itype</key>
- <type>enum</type>
- <option><name>Impulse</name><key>11</key></option>
- <option><name>Step</name><key>12</key></option>
- <option><name>Ramp</name><key>13</key></option>
- </param>
-
- <param>
-<name>tstart</name>
-<key>tstart</key>
-<value>0</value>
-<type>real</type>
-</param>
-
-<param>
-<name>tstop</name>
-<key>tstop</key>
-<value>0</value>
-<type>real</type>
-</param>
-
-<param>
-<name>tstep</name>
-<key>tstep</key>
-<value>0</value>
-<type>real</type>
-</param>
-
-
- <sink>
- <name>in</name>
- <type>float</type>
- <nports>2</nports>
- </sink>
-<!--
- <sink>
- <name>in1</name>
- <type>float</type>
- <nports>4</nports>
- </sink> -->
-
-
- <source>
- <name>out</name>
- <type>float</type>
- </source>
-
-<doc>
-
-This block can perfrom three types of system responses.
-
-Step, Ramp and Impulse.
-
-in0 = Numerator Equation
-
-in1 = Denominator Equation
-
-</doc>
-
-
-</block>
diff --git a/gr-input/grc/plot_sink.xml b/gr-input/grc/plot_sink.xml
deleted file mode 100755
index 07022ea07..000000000
--- a/gr-input/grc/plot_sink.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0"?>
-<!--
-###################################################
-##Variable Sink: Custom blks2 block
-###################################################
- -->
-<block>
- <name>Plot Sink</name>
- <key>plot_sink</key>
- <category>Single Board Heater System</category>
- <import>import gnuradio.input.plot_sink</import>
- <make>#set $parent = $notebook() and 'self.%s.GetPage(%s)'%$notebook() or 'self'
-gnuradio.input.plot_sink.plot_sink_$(type.fcn)(
- $(parent).GetWin(),
- title=$title,
- vlen=$vlen,
- decim=$decim,
- gsz=$gsz,
- zoom=$zoom,
-)
-#if not $grid_pos()
-$(parent).Add(self.$(id).win)
-#else
-$(parent).GridAdd(self.$(id).win, $(', '.join(map(str, $grid_pos()))))
-#end if</make>
- <callback>set_decim($decim)</callback>
- <param>
- <name>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>
- <option>
- <name>Int</name>
- <key>int</key>
- <opt>fcn:i</opt>
- </option>
- <option>
- <name>Short</name>
- <key>short</key>
- <opt>fcn:s</opt>
- </option>
- <option>
- <name>Byte</name>
- <key>byte</key>
- <opt>fcn:b</opt>
- </option>
- </param>
- <param>
- <name>Title</name>
- <key>title</key>
- <value>Scope Plot</value>
- <type>string</type>
- </param>
- <param>
- <name>Decimation</name>
- <key>decim</key>
- <value>1</value>
- <type>int</type>
- </param>
- <param>
- <name>Vec Length</name>
- <key>vlen</key>
- <value>1</value>
- <type>int</type>
- </param>
-
- <param>
- <name>Graph size</name>
- <key>gsz</key>
- <value>50</value>
- <type>int</type>
- </param>
- <param>
- <name>History Required</name>
- <key>zoom</key>
- <value>0</value>
- <type>int</type>
- </param>
-
- <param>
- <name>Grid Position</name>
- <key>grid_pos</key>
- <value></value>
- <type>grid_pos</type>
- </param>
- <param>
- <name>Notebook</name>
- <key>notebook</key>
- <value></value>
- <type>notebook</type>
- </param>
-
- <check>$vlen &gt; 0</check>
- <sink>
- <name>in</name>
- <type>$type</type>
- <vlen>$vlen</vlen>
- </sink>
- <doc>
-Read samples from the input stream and \
-plot one in every decimation samples to the plot sink.
-</doc>
-</block>
diff --git a/gr-input/grc/plzr_plot.xml b/gr-input/grc/plzr_plot.xml
deleted file mode 100644
index 833149ea5..000000000
--- a/gr-input/grc/plzr_plot.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-<block>
- <name>plzr_plot</name>
- <key>plzr_plot</key>
- <category>Python_Blocks</category>
- <import>import gnuradio.plzr_plot</import>
- <make>gnuradio.plzr_plot.plzr_plot($order)</make>
-
-<param>
- <name>Order of transfer function</name>
- <key>order</key>
- <value>1</value>
- <type>real</type>
-
-</param>
-
-
-
- <sink>
- <name>in</name>
- <type>float</type>
- <nports>2</nports>
- </sink>
-</block>
-<!--
- <sink>
- <name>in1</name>
- <type>float</type>
- <nports>4</nports>
- </sink>
-
-
- <source>
- <name>in</name>
- <type>float</type>
- </source>
-</block>-->
diff --git a/gr-input/grc/ramp_source.xml b/gr-input/grc/ramp_source.xml
deleted file mode 100644
index 5cba29ae7..000000000
--- a/gr-input/grc/ramp_source.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0"?>
-<!--
-###################################################
-##
-CSIM Block:
-## all types, 1 output, 2 to inf inputs
-###################################################
- -->
-<block>
- <name>Ramp Input</name>
- <key>ramp</key>
- <category>Sources</category>
-
- <import>from gnuradio.input import ramp_hierblock as ramp_hierblock</import>
- <make>ramp_hierblock.HierBlock($S,$H_Off,$W_Off)
- </make>
- <param>
- <name>IO Type</name>
- <key>type</key>
- <type>enum</type>
- <option><name>F32_F32</name><key>f32_f32</key></option>
- <option><name>S32_S32</name><key>s32_s32</key></option>
- <option><name>S16_S16</name><key>s16_s16</key></option>
- <option><name>S8_S8</name><key>s8_s8</key></option>
- </param>
- <param>
- <name>Num Inputs</name>
- <key>num_inputs</key>
- <value>1</value>
- <type>int</type>
- </param>
- <param>
- <name>Vec Length</name>
- <key>vlen</key>
- <value>1</value>
- <type>int</type>
- </param>
-
- <!--
- Desimulation options
- -->
- <param>
- <name>slope of ramp</name>
- <key>S</key>
- <value>1</value>
- <type>real</type>
- </param>
-
- <param>
- <name>height of offset</name>
- <key>H_Off</key>
- <value>0</value>
- <type>real</type>
- </param>
-
- <param>
- <name>width of offset</name>
- <key>W_Off</key>
- <value>0</value>
- <type>real</type>
- </param>
-
- <!--
- Check if number of inputs are greater than 0, and if vector length
- is greater than 0.
- -->
- <check>$num_inputs &gt; 0</check>
- <check>$vlen &gt; 0</check>
-
- <source>
- <name>out</name>
- <type>$(str($type).split('_')[1])</type>
- <vlen>$vlen</vlen>
- </source>
- <doc>
-
-Ramp Input block :
-
-Slope of ramp is the slope of ramp user wants to generate.
-Height of Offset is the height of step user wants to generate as initial signal.
-Width of Offset is the length upto which user wants to see the generated offset be.
-
-Default slope of ramp is 1 unit.
-Default height and width of offset is 1 unit.
-</doc>
-</block>
-
diff --git a/gr-input/grc/step_source.xml b/gr-input/grc/step_source.xml
deleted file mode 100644
index 599980030..000000000
--- a/gr-input/grc/step_source.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0"?>
-<!--
-###################################################
-##
-CSIM Block:
-## all types, 1 output, 2 to inf inputs
-###################################################
- -->
-<block>
- <name>Step Input</name>
- <key>step_offset</key>
- <category>Sources</category>
-
- <import>from gnuradio.input import step_hierblock as step_hierblock</import>
- <make>step_hierblock.HierBlock($S,$H_Off,$W_Off)
- </make>
- <param>
- <name>IO Type</name>
- <key>type</key>
- <type>enum</type>
- <option><name>F32_F32</name><key>f32_f32</key></option>
- <option><name>S32_S32</name><key>s32_s32</key></option>
- <option><name>S16_S16</name><key>s16_s16</key></option>
- <option><name>S8_S8</name><key>s8_s8</key></option>
- </param>
- <param>
- <name>Num Inputs</name>
- <key>num_inputs</key>
- <value>1</value>
- <type>int</type>
- </param>
- <param>
- <name>Vec Length</name>
- <key>vlen</key>
- <value>1</value>
- <type>int</type>
- </param>
-
- <!--
- Desimulation options
- -->
- <param>
- <name>step size</name>
- <key>S</key>
- <value>1</value>
- <type>real</type>
- </param>
-
- <param>
- <name>height of offset</name>
- <key>H_Off</key>
- <value>0</value>
- <type>real</type>
- </param>
-
- <param>
- <name>width of offset</name>
- <key>W_Off</key>
- <value>0</value>
- <type>real</type>
- </param>
-
-
- <!--
- Check if number of inputs are greater than 0, and if vector length
- is greater than 0.
- -->
- <check>$num_inputs &gt; 0</check>
- <check>$vlen &gt; 0</check>
-
- <source>
- <name>out</name>
- <type>$(str($type).split('_')[1])</type>
- <vlen>$vlen</vlen>
- </source>
- <doc>
-
-Step Input block :
-
-Step size is the height of step user wants to generate.
-Height of Offset is the height of step user wants to generate as initial signal.
-Width of Offset is the length upto which user wants to see the generated offset before starting with the height equivalent to step size.
-
-Default step size is 1 unit.
-Default height and width of offset is 1 unit
-</doc>
-</block>
-