-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.html
219 lines (206 loc) · 9.62 KB
/
application.html
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>TOFMA | Telecommunications Optical Fibers Modeling Application</title>
<meta content="Application for the design of optical fibers used in metrology" name="description">
<meta content="tofma, telecommunications, optical, fibers" name="keywords">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<link href="favicon.ico" rel="shortcut icon">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap" rel="stylesheet">
<link href="src/css/vendor/normalize.css" rel="stylesheet">
<link href="src/css/main.css" rel="stylesheet">
</head>
<body>
<div class="commonMainBox">
<!--[if IE]>
<p class="browserupgrade">
You are using an <strong>outdated browser</strong>.
Please <a href="https://browsehappy.com/" target="_blank">upgrade your browser</a> to improve your experience and security.
</p>
<![endif]-->
<noscript>
<p class="enablejavascript">
For full functionality of this site it is necessary to <strong>enable JavaScript</strong>.
Here are the <a href="https://www.enable-javascript.com/" target="_blank">instructions how to enable JavaScript in your web browser</a>.
</p>
</noscript>
<div class="commonMenu">
<span><a href="index.html">Index</a></span>
<span><a href="application.html">Application</a></span>
<!-- TODO <span><a href="documentation.html">Documentation</a></span> -->
</div>
<h1 class="commonWebpageTitle">Application</h1>
<div class="modeler">
<div class="modelerInput">
<div id="modelerInputURLArguments">
<p>INFO</p>
<p>
The arguments in the URL query string were detected. Do you want to load them?
<button id="modelerInputURLArgumentsCancel" name="modelerInputURLArgumentsCancel"
type="button">CANCEL</button>
<button id="modelerInputURLArgumentsLoad" name="modelerInputURLArgumentsLoad"
type="button">LOAD</button>
</p>
</div>
<div class="modelerInputProfiles">
<label>
<img alt="The triangular profile of refractive index"
class="noselect modelerInputProfile1img" src="src/img/profile/p1.png"
title="The triangular profile of refractive index">
<input checked id="modelerInputProfile1" name="modelerInputProfile" type="radio" value="1">
</label>
<label>
<img alt="The gradient profile of refractive index"
class="noselect modelerInputProfile2img" src="src/img/profile/p2.png"
title="The gradient profile of refractive index">
<input id="modelerInputProfile2" name="modelerInputProfile" type="radio" value="2">
</label>
<label>
<img alt="The step profile of refractive index"
class="noselect modelerInputProfile3img" src="src/img/profile/p3.png"
title="The step profile of refractive index">
<input id="modelerInputProfile3" name="modelerInputProfile" type="radio" value="3">
</label>
<label>
<img alt="The step profile of refractive index with depressive cladding"
class="noselect modelerInputProfile4img" src="src/img/profile/p4.png"
title="The step profile of refractive index with depressive cladding">
<input id="modelerInputProfile4" name="modelerInputProfile" type="radio" value="4">
</label>
<label>
<img alt="The step profile of refractive index with a depressive ring around the core"
class="noselect modelerInputProfile5img" src="src/img/profile/p5.png"
title="The step profile of refractive index with a depressive ring around the core">
<input id="modelerInputProfile5" name="modelerInputProfile" type="radio" value="5">
</label>
</div>
<div class="modelerInputArguments">
<table>
<tr>
<td><label for="modelerInputGermanium">Germanium: </label></td>
<td><input id="modelerInputGermanium" max="15" min="0" name="modelerInputGermanium"
placeholder="min:0 max:15" step="0.001" type="number"> [M%]</td>
</tr>
<tr>
<td><label for="modelerInputFluoride">Fluoride: </label></td>
<td><input disabled id="modelerInputFluoride" max="2" min="0" name="modelerInputFluoride"
placeholder="min:0 max:2" step="0.001" type="number"> [M%]</td>
</tr>
<tr>
<td><label for="modelerInputWavelength">Wavelength: </label></td>
<td><input id="modelerInputWavelength" min="0" name="modelerInputWavelength"
placeholder="non-negative" step="0.001" type="number"> [um]</td>
</tr>
<tr>
<td><label for="modelerInputA">a: </label></td>
<td><input id="modelerInputA" min="0" name="modelerInputA" placeholder="greater than 0"
step="0.01" type="number"> [um]</td>
</tr>
<tr>
<td><label for="modelerInputB">b: </label></td>
<td><input disabled id="modelerInputB" min="0" name="modelerInputB"
placeholder="non-negative" step="0.01" type="number"> [um]</td>
</tr>
<tr>
<td><label for="modelerInputC">c: </label></td>
<td><input disabled id="modelerInputC" min="0" name="modelerInputC"
placeholder="non-negative" step="0.01" type="number"> [um]</td>
</tr>
<tr>
<td><label for="modelerInputQ">q: </label></td>
<td><input disabled id="modelerInputQ" min="1" name="modelerInputQ"
placeholder="greater than 1" step="0.1" type="number" value="4"></td>
</tr>
<tr>
<td><label for="modelerInputPoints2D">2D points: </label></td>
<td><input id="modelerInputPoints2D" min="1" name="modelerInputPoints2D"
placeholder="greater than 1" step="1" type="number" value="1000"></td>
</tr>
<tr>
<td><label for="modelerInputPoints3D">3D points: </label></td>
<td><input id="modelerInputPoints3D" min="1" name="modelerInputPoints3D"
placeholder="greater than 1" step="1" type="number" value="500"></td>
</tr>
</table>
</div>
<div class="modelerInputSubmits">
<span class="modelerInputSubmitsLeft">
<button id="modelerInputSubmitsSave" name="modelerInputSubmitsSave" type="button">SAVE INPUT</button>
<label><input id="modelerInputSubmitsSaveOut" name="modelerInputSubmitsSaveOut" placeholder="URL with arguments" type="text"></label>
</span>
<span class="modelerInputSubmitsRight">
<label>
2D: <input checked id="modelerInputPlot2D" name="modelerInputPlot2D" type="checkbox">
</label>
<label>
3D: <input checked id="modelerInputPlot3D" name="modelerInputPlot3D" type="checkbox">
</label>
<button id="modelerInputGenerate" name="modelerInputGenerate" type="button">GENERATE</button>
</span>
</div>
<!-- TODO <div class="modelerInputReport">
<div class="modelerInputReportDiv">
<span id="modelerInputReportMsg">(generate to unlock)</span>
<span class="modelerInputReportReport">Report:</span>
<button id="modelerInputReportPrint" name="modelerInputReportPrint" type="button">PRINT</button>
<button id="modelerInputReportDownload" name="modelerInputReportDownload" type="button">DOWNLOAD</button>
</div>
</div> -->
</div>
<div class="modelerOutput">
<div id="modelerOutputError">
<p>ERROR</p>
<p id="modelerOutputErrorText"></p>
</div>
<div id="modelerOutputValues">
<table>
<tr>
<td><label for="modelerOutputValuesN1">n1: </label></td>
<td><input disabled id="modelerOutputValuesN1" name="modelerOutputValuesN1"
type="text" title="The refractive index in the optical fiber core."></td>
</tr>
<tr>
<td><label for="modelerOutputValuesN2">n2: </label></td>
<td><input disabled id="modelerOutputValuesN2" name="modelerOutputValuesN2"
type="text" title="The refractive index in the optical fiber cladding."></td>
</tr>
<tr id="modelerOutputValuesN3Block">
<td><label for="modelerOutputValuesN3">n3: </label></td>
<td><input disabled id="modelerOutputValuesN3" name="modelerOutputValuesN3" type="text"
title="The refractive index in the optical fiber depressive cladding."></td>
</tr>
<tr>
<td><label for="modelerOutputValuesV1">V1: </label></td>
<td><input disabled id="modelerOutputValuesV1" name="modelerOutputValuesV1" type="text"
title="The Verdet constant in the optical fiber core."> [rad/(T*m)]</td>
</tr>
<tr>
<td><label for="modelerOutputValuesV2">V2: </label></td>
<td><input disabled id="modelerOutputValuesV2" name="modelerOutputValuesV2" type="text"
title="The Verdet constant in the optical fiber cladding."> [rad/(T*m)]</td>
</tr>
<tr id="modelerOutputValuesV3Block">
<td><label for="modelerOutputValuesV3">V3: </label></td>
<td><input disabled id="modelerOutputValuesV3" name="modelerOutputValuesV3" type="text"
title="The Verdet constant in the optical fiber depressive cladding."> [rad/(T*m)]</td>
</tr>
<tr>
<td><label for="modelerOutputValuesCutWave">Cutoff Wavelength: </label></td>
<td><input disabled id="modelerOutputValuesCutWave" name="modelerOutputValuesCutWave"
type="text" title="Cutoff Wavelength."> [um]</td>
</tr>
</table>
</div>
<div id="modelerOutputPlot2D"></div>
<div id="modelerOutputPlot3D"></div>
</div>
</div>
</div>
<script src="src/js/repair-console.js"></script>
<script src="src/js/vendor/url-search-params-polyfill-8.2.5.js"></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<script>window.Plotly || document.write('<script src="src/js/vendor/plotly-latest.min.js"><\/script>')</script>
<script src="src/js/modeler.js"></script>
</body>
</html>