-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
397 lines (353 loc) · 15.4 KB
/
index.html
File metadata and controls
397 lines (353 loc) · 15.4 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
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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>GM (Geiger-Muller) Tube Conversion Factor Calculator</title>
<meta name="keywords" content="gm tube geiger muller tube conversion rate factor calculator"/>
<meta name="description" content="GM (Geiger Muller) tube conversion factor (rate, ratio) calculator"/>
<link rel="icon" href="favicon.svg" type="image/svg+xml">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"
integrity="sha256-MBffSnbbXwHCuZtgPYiwMQbfE7z+GOZ7fBPCNB06Z98=" crossorigin="anonymous">
<style>
:root {
--paper: #efe8d5;
--paper-2: #e6dcc7;
--ink: #1f1f1b;
--green: #1e8f4f;
--red: #b4412b;
--steel: #8b8f90;
--shadow: rgba(0, 0, 0, 0.18);
}
body {
background:
radial-gradient(circle at 20% 15%, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.05) 2px, transparent 3px) 0 0 / 24px 24px,
radial-gradient(circle at 70% 65%, rgba(0, 0, 0, 0.04) 0, rgba(0, 0, 0, 0.04) 1.5px, transparent 3px) 0 0 / 22px 22px,
linear-gradient(180deg, var(--paper), var(--paper-2));
color: var(--ink);
font-family: "IBM Plex Mono", "PT Mono", "Courier New", monospace;
}
.sheet {
background: rgba(239, 232, 213, 0.9);
border: 2px solid var(--ink);
box-shadow: 0 10px 30px var(--shadow);
padding: 24px 24px 18px 24px;
margin: 18px auto 24px auto;
}
.title-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
border-bottom: 2px solid var(--ink);
padding-bottom: 12px;
margin-bottom: 16px;
}
.title-lockup {
display: flex;
align-items: center;
gap: 14px;
}
.github-link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
border: 2px solid var(--ink);
color: var(--ink);
background: #f7f2e4;
text-decoration: none;
transition: background-color 0.2s ease;
}
.github-link:hover {
background: #e8deca;
color: #000;
}
.title-row h1 {
font-size: clamp(1.4rem, 2.8vw, 2.4rem);
letter-spacing: 0.04em;
text-transform: uppercase;
margin: 0;
}
.logo-radiation {
width: 56px;
height: 56px;
display: block;
flex: 0 0 auto;
filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}
.form-label-lite {
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.12em;
color: #3a3a35;
}
.panel {
border: 2px solid var(--ink);
padding: 14px;
background: #f7f2e4;
position: relative;
}
.form-control,
.form-select {
border: 2px solid var(--ink);
border-radius: 0;
background: #fffaf0;
color: var(--ink);
}
.form-control:focus,
.form-select:focus {
border-color: var(--green);
box-shadow: 0 0 0 0.2rem rgba(30, 143, 79, 0.2);
}
.form-select {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%231f1f1b' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
background-repeat: no-repeat;
background-position: right 0.6rem center;
}
.input-group .form-select {
margin-left: -2px !important;
}
.btn-primary {
background: var(--green);
border: 2px solid var(--ink);
border-radius: 0;
}
.btn-secondary {
background: var(--steel);
border: 2px solid var(--ink);
border-radius: 0;
}
.btn-primary:hover,
.btn-secondary:hover {
filter: brightness(0.95);
}
.result-banner {
border: 2px solid var(--ink);
background: #f0f7ef;
padding: 10px 12px;
font-weight: 600;
letter-spacing: 0.02em;
}
.table {
border: 2px solid var(--ink);
}
.table td {
border: 1px solid var(--ink);
padding: 10px 12px;
}
.muted-block {
border-top: 2px dashed var(--ink);
padding-top: 12px;
font-size: 0.92rem;
}
.gridline {
height: 6px;
background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
opacity: 0.15;
margin: 12px 0;
}
.nixie {
font-style: normal;
font-family: "Share Tech Mono", "IBM Plex Mono", monospace;
color: #ffb24a !important;
text-shadow:
0 0 2px rgba(255, 140, 0, 0.6),
0 0 6px rgba(255, 120, 0, 0.5),
0 0 12px rgba(255, 90, 0, 0.35);
background: #12100b !important;
padding: 0.1em 0.3em;
letter-spacing: 0.2em;
}
@media (max-width: 768px) {
.title-row {
flex-direction: column;
align-items: flex-start;
}
}
</style>
</head>
<body class="container">
<div class="sheet">
<div class="title-row">
<div class="title-lockup">
<svg class="logo-radiation" viewBox="0 0 64 64" aria-hidden="true" role="img">
<circle cx="32" cy="32" r="30" fill="#f6d24b" stroke="#12100b" stroke-width="2"/>
<path d="M19 9.5 A26 26 0 0 1 45 9.5 L36.5 24.2 A9 9 0 0 0 27.5 24.2 Z" fill="#12100b"/>
<path d="M19 9.5 A26 26 0 0 1 45 9.5 L36.5 24.2 A9 9 0 0 0 27.5 24.2 Z" fill="#12100b" transform="rotate(120 32 32)"/>
<path d="M19 9.5 A26 26 0 0 1 45 9.5 L36.5 24.2 A9 9 0 0 0 27.5 24.2 Z" fill="#12100b" transform="rotate(240 32 32)"/>
<circle cx="32" cy="32" r="6" fill="#12100b"/>
</svg>
<h1>GM Tube Conversion Factor Calculator</h1>
</div>
<a class="github-link" href="https://github.com/andkom/gmcalc" target="_blank" rel="noopener noreferrer" aria-label="Open project on GitHub">
<svg width="22" height="22" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
<path d="M8 0C3.58 0 0 3.58 0 8a8.01 8.01 0 0 0 5.47 7.59c.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.5-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.57 7.57 0 0 1 4 0c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z"/>
</svg>
</a>
</div>
<form id="form" role="form" class="mb-4 panel">
<div class="mb-1 form-label-lite">Select tube:</div>
<div class="mb-3">
<select id="tube" class="form-select">
<option value="">Select tube</option>
</select>
</div>
<div class="mb-1 form-label-lite">or input data from tube datasheet:</div>
<div class="row g-1 align-items-center mb-3">
<div class="col-12 col-lg-3">
<div class="input-group">
<input id="dose" type="text" value="0.17" class="form-control"/>
<select id="doseUnit" class="form-select">
<option value="ur">µR</option>
<option value="usv" selected="selected">µSv</option>
</select>
</div>
</div>
<div class="col-12 col-lg-auto text-center">/</div>
<div class="col-12 col-lg-3">
<div class="input-group">
<input id="dosePeriod" type="text" value="1" class="form-control"/>
<select id="dosePeriodUnit" class="form-select">
<option value="s">Second</option>
<option value="m">Minute</option>
<option value="h" selected="selected">Hour</option>
</select>
</div>
</div>
<div class="col-auto text-center">=</div>
<div class="col-12 col-lg-1">
<input id="count" type="text" value="30" class="form-control"/>
</div>
<div class="col-12 col-lg-auto text-center">counts/</div>
<div class="col-12 col-lg-3">
<div class="input-group">
<input id="countPeriod" type="text" value="1" class="form-control"/>
<select id="countPeriodUnit" class="form-select">
<option value="s">Second</option>
<option value="m" selected="selected">Minute</option>
<option value="h">Hour</option>
</select>
</div>
</div>
</div>
<div class="d-flex flex-wrap gap-2">
<button type="submit" class="btn btn-primary">Calculate</button>
<button type="reset" class="btn btn-secondary">Reset</button>
</div>
</form>
<div class="gridline"></div>
<h3 class="form-label-lite">Results</h3>
<p id="result" class="result-banner text-primary">Please select tube</p>
<table class="table table-bordered">
<tbody>
<tr>
<td><span id="resultUrs" class="nixie">?</span></td>
<td>µR/s</td>
</tr>
<tr>
<td><span id="resultUrh" class="nixie">?</span></td>
<td>µR/h</td>
</tr>
<tr>
<td><span id="resultUsvs" class="nixie">?</span></td>
<td>µSv/s</td>
</tr>
<tr>
<td><span id="resultUsvh" class="nixie">?</span></td>
<td>µSv/h</td>
</tr>
<tr>
<td><span id="resultCps" class="nixie">?</span></td>
<td>CPS</td>
</tr>
<tr>
<td><span id="resultCpm" class="nixie">?</span></td>
<td>CPM</td>
</tr>
<tr>
<td><span id="resultCpmToUrh" class="nixie">?</span></td>
<td>CPM → µR/h ratio</td>
</tr>
<tr>
<td><span id="resultCpmToUsvh" class="nixie">?</span></td>
<td>
<strong>CPM → µSv/h ratio</strong>
<small>used by <a href="https://sites.google.com/site/diygeigercounter/">DIYGeigerCounter</a></small>
</td>
</tr>
<tr>
<td><span id="resultCpmToUrs" class="nixie">?</span></td>
<td>CPM → µR/s ratio</td>
</tr>
<tr>
<td><span id="resultCpmToUsvs" class="nixie">?</span></td>
<td>CPM → µSv/s ratio</td>
</tr>
<tr>
<td><span id="resultCpsToUrh" class="nixie">?</span></td>
<td>CPS → µR/h ratio</td>
</tr>
<tr>
<td><span id="resultCpsToUsvh" class="nixie">?</span></td>
<td>CPS → µSv/h ratio</td>
</tr>
<tr>
<td><span id="resultCpsToUrs" class="nixie">?</span></td>
<td>CPS → µR/s ratio</td>
</tr>
<tr>
<td><span id="resultCpsToUsvs" class="nixie">?</span></td>
<td>CPS → µSv/s ratio</td>
</tr>
<tr>
<td><span id="resultCpsTo10Usv" class="nixie">?</span></td>
<td>
<strong>CPS → 10 µSv/h (1 mR/h) ratio</strong>
<small>used by <a href="https://sites.google.com/site/geigerbot/">Geiger Bot</a></small>
</td>
</tr>
<tr>
<td><span id="resultCpsPerUrs" class="nixie">?</span></td>
<td><strong>CPS/uR/s</strong> <small>used in most soviet tube datasheets</small></td>
</tr>
</tbody>
</table>
<div class="text-muted muted-block">
<p>The <strong>Geiger-Muller tube</strong> (also known as a <strong>Geiger counter</strong>) is a device used to
detect and measure ionizing radiation, such as alpha, beta, and gamma <strong>radiation</strong>. The conversion
factor, in the context of a Geiger-Muller tube, is a value that represents the relationship between the number
of electrical pulses generated by the tube and the amount of ionizing radiation it detects.</p>
<p>The <strong>conversion factor</strong> is typically given in terms of counts per unit of radiation exposure or
dose. It is specific to the type of radiation being detected and the particular characteristics of the
Geiger-Muller tube. The conversion factor allows you to convert the <strong>electrical pulses</strong> produced
by the tube into a meaningful measure of radiation exposure, such as dose in units like
<strong>roentgens</strong> (R) or <strong>sieverts</strong> (Sv).</p>
<p>It's important to note that the conversion factor can vary between different types of Geiger-Muller tubes and the
specific radiation being detected. Therefore, it's essential to use the <strong>appropriate conversion
factor</strong> for your specific application and radiation source to get an accurate measurement of
radiation exposure or dose.</p>
<h3 class="form-label-lite mb-2">Supported tubes</h3>
<p>
<a class="tube-link" href="#sbm-19-ra">SBM-19 (СБМ-19) [<sup>226</sup>Ra]</a>
<a class="tube-link" href="#sbm-19-cs">SBM-19 (СБМ-19) [<sup>137</sup>Cs]</a>
<a class="tube-link" href="#sbm-20-ra">SBM-20 (СБМ-20) [<sup>226</sup>Ra]</a>
<a class="tube-link" href="#sbm-20-cs">SBM-20 (СБМ-20) [<sup>137</sup>Cs]</a>
<a class="tube-link" href="#sbm-21-ra">SBM-21 (СБМ-21) [<sup>226</sup>Ra]</a>
<a class="tube-link" href="#sbm-21-cs">SBM-21 (СБМ-21) [<sup>137</sup>Cs]</a>
<a class="tube-link" href="#sbt-9">SBT-9 (СБТ-9)</a>
<a class="tube-link" href="#sbt-10a">SBT-10A (СБТ-10А)</a>
<a class="tube-link" href="#sbt-11a">SBT-11A (СБТ-11А)</a>
<a class="tube-link" href="#si-3bg">SI-3BG (СИ-3БГ)</a>
<a class="tube-link" href="#si-8b">SI-8B (СИ-8Б)</a>
<a class="tube-link" href="#si-22g">SI-22G (СИ-22Г)</a>
<a class="tube-link" href="#lnd-712">LND 712</a>
<a class="tube-link" href="#lnd-7317">LND 7317</a>
</p>
</div>
</div>
<script type="text/javascript" src="lib/sound.js"></script>
<script type="text/javascript" src="lib/calc.js"></script>
</body>
</html>