-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (48 loc) · 2.02 KB
/
Copy pathindex.html
File metadata and controls
61 lines (48 loc) · 2.02 KB
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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" media="all" href="hlsi.css">
<link rel="stylesheet" type="text/css" media="all" href="base.css">
<script src=signal.js></script>
<title>Place holder title</title>
</head>
<body>
<div class="tab">
<button class="tablinks active" onclick="openTab(event, 'Base')">Base</button>
<button class="tablinks" onclick="openTab(event, 'Baseband')">Baseband</button>
<button class="tablinks" onclick="openTab(event, 'ManualTargets')">Manual Targets</button>
</div>
<div id="Base" class="tabcontent" style="display: block;">
<p>placeholder explanation for base constellation diagram</p>
<a href="constellationDiagram_base.html">Base Constellation Diagram</a>
</div>
<div id="Baseband" class="tabcontent" style="display:none;">
<p>placeholder explanation for baseband constellation</p>
<a href="constellationDiagram_Baseband.html">Baseband Constellation Diagram</a>
</div>
<div id="ManualTargets" class="tabcontent" style="display:none;">
<p>placeholder explanation for manual targets</p>
<a href="constellationdiagramManualTargets.html">Constellation Diagram Manual Targets</a>
</div>
<script>
function openTab(evt, tabName) {
const tabcontent = document.getElementsByClassName("tabcontent");
for (let i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
const tablinks = document.getElementsByClassName("tablinks");
for (let i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
document.getElementById(tabName).style.display = "block";
evt.currentTarget.className += " active";
}
const sig = Signal(JSON.parse(JSON.stringify(conf.signal_multi)), '', {
gn_init: 0.1, // dB
gn_min: 0,
gn_max: 450,
mcs_init: 2, // array index int
});
</script>
</body>
</html>