blob: 2016a34c2748fada5650d1a5ce5d0499d7d87884 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
<?xml version="1.0"?>
<!--
###################################################
##Trellis Metrics
###################################################
-->
<block>
<name>Trellis Metrics</name>
<key>trellis_metrics_x</key>
<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>
|