summaryrefslogtreecommitdiff
path: root/gr-trellis/grc/trellis_metrics_x.xml
diff options
context:
space:
mode:
authorTom Rondeau2011-09-02 12:14:57 -0400
committerTom Rondeau2011-09-02 12:14:57 -0400
commit0f43bdb085f98e1182dbd940db9ed1fb52119186 (patch)
treeb210a92db1abc4fb430ab28fe0e5abd858501bf6 /gr-trellis/grc/trellis_metrics_x.xml
parent772518ceb9cebefb8bb8ecc9edd63570f38de514 (diff)
parent02a32461e2f625f02ecbbe41354d59bf8dd5452b (diff)
downloadgnuradio-0f43bdb085f98e1182dbd940db9ed1fb52119186.tar.gz
gnuradio-0f43bdb085f98e1182dbd940db9ed1fb52119186.tar.bz2
gnuradio-0f43bdb085f98e1182dbd940db9ed1fb52119186.zip
Merge branch 'turbo'
Diffstat (limited to 'gr-trellis/grc/trellis_metrics_x.xml')
-rw-r--r--gr-trellis/grc/trellis_metrics_x.xml88
1 files changed, 88 insertions, 0 deletions
diff --git a/gr-trellis/grc/trellis_metrics_x.xml b/gr-trellis/grc/trellis_metrics_x.xml
new file mode 100644
index 000000000..ccb59a36e
--- /dev/null
+++ b/gr-trellis/grc/trellis_metrics_x.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Trellis Metrics
+###################################################
+ -->
+
+
+<block>
+ <name>Trellis Metrics</name>
+ <key>trellis_metrics_x</key>
+ <category>Error Correction/Trellis</category>
+ <import>from gnuradio import trellis</import>
+ <make>trellis.metrics_$(type)($card, $dim, $table, $metric_type)</make>
+ <callback>set_TABLE($table)</callback>
+ <param>
+ <name>Type</name>
+ <key>type</key>
+ <type>enum</type>
+ <option>
+ <name>Complex</name>
+ <key>c</key>
+ <opt>io:complex</opt>
+ <opt>table:complex_vector</opt>
+ </option>
+ <option>
+ <name>Float</name>
+ <key>f</key>
+ <opt>io:float</opt>
+ <opt>table:real_vector</opt>
+ </option>
+ <option>
+ <name>Int</name>
+ <key>i</key>
+ <opt>io:int</opt>
+ <opt>table:int_vector</opt>
+ </option>
+ <option>
+ <name>Short</name>
+ <key>s</key>
+ <opt>io:short</opt>
+ <opt>table:int_vector</opt>
+ </option>
+ </param>
+ <param>
+ <name>Output Cardinality</name>
+ <key>card</key>
+ <type>int</type>
+ </param>
+ <param>
+ <name>Dimensionality</name>
+ <key>dim</key>
+ <type>int</type>
+ </param>
+ <param>
+ <name>Constellation</name>
+ <key>table</key>
+ <type>$type.table</type>
+ </param>
+ <param>
+ <name>Metric Type</name>
+ <key>metric_type</key>
+ <type>enum</type>
+ <option>
+ <name>Euclidean</name>
+ <key>trellis.TRELLIS_EUCLIDEAN</key>
+ </option>
+ <option>
+ <name>Hard Symbol</name>
+ <key>trellis.TRELLIS_HARD_SYMBOL</key>
+ </option>
+ <option>
+ <name>Hard Bit</name>
+ <key>trellis.TRELLIS_HARD_BIT</key>
+ </option>
+ </param>
+ <sink>
+ <name>in</name>
+ <type>$type.io</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>float</type>
+ </source>
+ <doc>
+Generate metrics required for Viterbi or SISO algorithms.
+ </doc>
+</block>