summaryrefslogtreecommitdiff
path: root/grc/blocks/blks2_qamx_demod.xml
blob: e332495aeeacdb348ec4f067ca8a3c69ea6a8cca (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?xml version="1.0"?>
<!--
###################################################
##QAM Demod - 8, 16, 64, 256
###################################################
 -->
<block>
	<name>QAM Demod</name>
	<key>blks2_qamx_demod</key>
	<import>from gnuradio import blks2</import>
	<make>blks2.$(type)_demod(
	samples_per_symbol=$samples_per_symbol,
	excess_bw=$excess_bw,
	costas_alpha=$costas_alpha,
	gain_mu=$gain_mu,
	mu=$mu,
	omega_relative_limit=$omega_relative_limit,
	gray_code=$gray_code,
	verbose=$verbose,
	log=$log,
)</make>
	<param>
		<name>Type</name>
		<key>type</key>
		<type>enum</type>
		<option>
			<name>QAM8</name>
			<key>qam8</key>
		</option>
		<option>
			<name>QAM16</name>
			<key>qam16</key>
		</option>
		<option>
			<name>QAM64</name>
			<key>qam64</key>
		</option>
		<option>
			<name>QAM256</name>
			<key>qam256</key>
		</option>
	</param>
	<param>
		<name>Samples/Symbol</name>
		<key>samples_per_symbol</key>
		<value>2</value>
		<type>int</type>
	</param>
	<param>
		<name>Excess BW</name>
		<key>excess_bw</key>
		<value>0.35</value>
		<type>real</type>
	</param>
	<param>
		<name>Costas Alpha</name>
		<key>costas_alpha</key>
		<value>0.175</value>
		<type>real</type>
	</param>
	<param>
		<name>Gain Mu</name>
		<key>gain_mu</key>
		<value>0.03</value>
		<type>real</type>
	</param>
	<param>
		<name>Mu</name>
		<key>mu</key>
		<value>0.05</value>
		<type>real</type>
	</param>
	<param>
		<name>Omega Relative Limit</name>
		<key>omega_relative_limit</key>
		<value>0.005</value>
		<type>real</type>
	</param>
	<param>
		<name>Gray Code</name>
		<key>gray_code</key>
		<value>True</value>
		<type>enum</type>
		<option>
			<name>Yes</name>
			<key>True</key>
		</option>
		<option>
			<name>No</name>
			<key>False</key>
		</option>
	</param>
	<param>
		<name>Verbose</name>
		<key>verbose</key>
		<value>False</value>
		<type>bool</type>
		<hide>#if str($verbose) == 'False' then 'part' else 'none'#</hide>
		<option>
			<name>On</name>
			<key>True</key>
		</option>
		<option>
			<name>Off</name>
			<key>False</key>
		</option>
	</param>
	<param>
		<name>Logging</name>
		<key>log</key>
		<value>False</value>
		<type>bool</type>
		<hide>#if str($log) == 'False' then 'part' else 'none'#</hide>
		<option>
			<name>On</name>
			<key>True</key>
		</option>
		<option>
			<name>Off</name>
			<key>False</key>
		</option>
	</param>
	<sink>
		<name>in</name>
		<type>complex</type>
	</sink>
	<source>
		<name>out</name>
		<type>byte</type>
	</source>
</block>