asciimath2unitsml 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ class String
2
+ def blank?
3
+ self.nil? || self.empty?
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module Asciimath2UnitsML
2
+ VERSION = '0.0.2'.freeze
3
+ end
@@ -0,0 +1,167 @@
1
+ ---
2
+ NISTp10_24:
3
+ name: yotta
4
+ symbol: Y
5
+ base: 10
6
+ power: 24
7
+
8
+ NISTp10_21:
9
+ name: zetta
10
+ symbol: Z
11
+ base: 10
12
+ power: 21
13
+
14
+ NISTp10_18:
15
+ name: exa
16
+ symbol: E
17
+ base: 10
18
+ power: 18
19
+
20
+ NISTp10_15:
21
+ name: peta
22
+ symbol: P
23
+ base: 10
24
+ power: 15
25
+
26
+ NISTp10_12:
27
+ name: tera
28
+ symbol: T
29
+ base: 10
30
+ power: 12
31
+
32
+ NISTp10_9:
33
+ name: giga
34
+ symbol: G
35
+ base: 10
36
+ power: 9
37
+
38
+ NISTp10_6:
39
+ name: mega
40
+ symbol: M
41
+ base: 10
42
+ power: 6
43
+
44
+ NISTp10_3:
45
+ name: kilo
46
+ symbol: k
47
+ base: 10
48
+ power: 3
49
+
50
+ NISTp10_2:
51
+ name: hecto
52
+ symbol: h
53
+ base: 10
54
+ power: 2
55
+
56
+ NISTp10_1:
57
+ name: deka
58
+ symbol: da
59
+ base: 10
60
+ power: 1
61
+
62
+ # NO_PREFIX: Unity, added by RT
63
+ NISTp10_0:
64
+ name: ""
65
+ symbol: ""
66
+ base: 10
67
+ power: 0
68
+
69
+ NISTp10_-1:
70
+ name: deci
71
+ symbol: d
72
+ base: 10
73
+ power: -1
74
+
75
+ NISTp10_-2:
76
+ name: centi
77
+ symbol: c
78
+ base: 10
79
+ power: -2
80
+
81
+ NISTp10_-3:
82
+ name: milli
83
+ symbol: m
84
+ base: 10
85
+ power: -3
86
+
87
+ NISTp10_-6:
88
+ name: micro
89
+ symbol: u
90
+ base: 10
91
+ power: -6
92
+
93
+ NISTp10_-9:
94
+ name: nano
95
+ symbol: n
96
+ base: 10
97
+ power: -9
98
+
99
+ NISTp10_-12:
100
+ name: pico
101
+ symbol: p
102
+ base: 10
103
+ power: -12
104
+
105
+ NISTp10_-15:
106
+ name: femto
107
+ symbol: f
108
+ base: 10
109
+ power: -15
110
+
111
+ NISTp10_-18:
112
+ name: atto
113
+ symbol: a
114
+ base: 10
115
+ power: -18
116
+
117
+ NISTp10_-21:
118
+ name: zepto
119
+ symbol: z
120
+ base: 10
121
+ power: -21
122
+
123
+ NISTp10_-24:
124
+ name: yocto
125
+ symbol: y
126
+ base: 10
127
+ power: -24
128
+
129
+
130
+ # Binary Prefixes:
131
+
132
+ NISTp2_10:
133
+ name: kibi
134
+ symbol: Ki
135
+ base: 2
136
+ power: 10
137
+
138
+ NISTp2_20:
139
+ name: mebi
140
+ symbol: Mi
141
+ base: 2
142
+ power: 20
143
+
144
+ NISTp2_30:
145
+ name: gibi
146
+ symbol: Gi
147
+ base: 2
148
+ power: 30
149
+
150
+ NISTp2_40:
151
+ name: tebi
152
+ symbol: Ti
153
+ base: 2
154
+ power: 40
155
+
156
+ NISTp2_50:
157
+ name: pebi
158
+ symbol: Pi
159
+ base: 2
160
+ power: 50
161
+
162
+ NISTp2_60:
163
+ name: exbi
164
+ symbol: Ei
165
+ base: 2
166
+ power: 60
167
+
@@ -0,0 +1,633 @@
1
+ ---
2
+ # Quantities
3
+
4
+ NISTq172:
5
+ name: 1st hyperpolarizability
6
+
7
+ NISTq173:
8
+ name: 2nd hyperpolarizability
9
+
10
+ NISTq36:
11
+ name: absorbed dose
12
+
13
+ NISTq76:
14
+ name: absorbed dose rate
15
+
16
+ NISTq49:
17
+ name: acceleration
18
+
19
+ NISTq108:
20
+ name: acceleration of free fall
21
+
22
+ NISTq154:
23
+ name: action
24
+
25
+ NISTq35:
26
+ name: activity referred to a radionuclide
27
+
28
+ NISTq40:
29
+ name: ambient dose equivalent
30
+
31
+ NISTq55:
32
+ name: amount concentration
33
+
34
+ NISTq23:
35
+ name: amount of electricity
36
+
37
+ NISTq19:
38
+ name: amount of heat
39
+
40
+ NISTq6:
41
+ name: amount of substance
42
+
43
+ NISTq55:
44
+ name: amount-of-substance concentration(amount concentration)
45
+
46
+ NISTq9:
47
+ name: angle(plane angle)
48
+
49
+ NISTq58:
50
+ name: angular acceleration
51
+
52
+ NISTq113:
53
+ name: angular frequency
54
+
55
+ NISTq133:
56
+ name: angular impulse
57
+
58
+ NISTq132:
59
+ name: angular momentum(moment of momentum)
60
+
61
+ NISTq115:
62
+ name: angular repetency(angular wavenumber)
63
+
64
+ NISTq57:
65
+ name: angular velocity
66
+
67
+ NISTq115:
68
+ name: angular wavenumber
69
+
70
+ NISTq8:
71
+ name: area
72
+
73
+ NISTq155:
74
+ name: area moment of inertia
75
+
76
+ NISTq31:
77
+ name: areic mass(surface density)
78
+
79
+ NISTq122:
80
+ name: attenuation coefficient
81
+
82
+ NISTq185:
83
+ name: bending moment of force
84
+
85
+ NISTq95:
86
+ name: breadth
87
+
88
+ NISTq143:
89
+ name: bulk modulus(modulus of compression)
90
+
91
+ NISTq27:
92
+ name: capacitance
93
+
94
+ NISTq102:
95
+ name: cartesian coordinates
96
+
97
+ NISTq44:
98
+ name: catalytic activity
99
+
100
+ NISTq84:
101
+ name: catalytic activity concentration
102
+
103
+ NISTq34:
104
+ name: Celsius temperature
105
+
106
+ NISTq180:
107
+ name: coefficient of heat transfer
108
+
109
+ NISTq139:
110
+ name: compressibility
111
+
112
+ NISTq55:
113
+ name: concentration(amount concentration)
114
+
115
+ NISTq157:
116
+ name: cubic expansion coefficient
117
+
118
+ NISTq53:
119
+ name: current density
120
+
121
+ NISTq106:
122
+ name: curvature
123
+
124
+ NISTq120:
125
+ name: damping coefficient
126
+
127
+ NISTq51:
128
+ name: density(mass density)
129
+
130
+ NISTq100:
131
+ name: diameter
132
+
133
+ NISTq41:
134
+ name: directional dose equivalent
135
+
136
+ NISTq104:
137
+ name: displacement
138
+
139
+ NISTq48:
140
+ name: distance
141
+
142
+ NISTq39:
143
+ name: dose equivalent
144
+
145
+ NISTq3:
146
+ name: duration(time)
147
+
148
+ NISTq147:
149
+ name: dynamic friction factor
150
+
151
+ NISTq59:
152
+ name: dynamic viscosity
153
+
154
+ NISTq149:
155
+ name: efficiency
156
+
157
+ NISTq169:
158
+ name: electric capacitance
159
+
160
+ NISTq22:
161
+ name: electric charge
162
+
163
+ NISTq69:
164
+ name: electric charge density
165
+
166
+ NISTq29:
167
+ name: electric conductance
168
+
169
+ NISTq4:
170
+ name: electric current
171
+
172
+ NISTq170:
173
+ name: electric current intensity
174
+
175
+ NISTq162:
176
+ name: electric dipole moment
177
+
178
+ NISTq82:
179
+ name: electric displacement
180
+
181
+ NISTq165:
182
+ name: electric field gradient
183
+
184
+ NISTq68:
185
+ name: electric field strength
186
+
187
+ NISTq70:
188
+ name: electric flux density
189
+
190
+ NISTq171:
191
+ name: electric inductance
192
+
193
+ NISTq166:
194
+ name: electric potential
195
+
196
+ NISTq24:
197
+ name: electric potential difference
198
+
199
+ NISTq167:
200
+ name: electric quadrupole moment
201
+
202
+ NISTq28:
203
+ name: electric resistance
204
+
205
+ NISTq26:
206
+ name: electric tension
207
+
208
+ NISTq24:
209
+ name: electromotive force(electric potential difference)
210
+
211
+ NISTq17:
212
+ name: energy
213
+
214
+ NISTq67:
215
+ name: energy density
216
+
217
+ NISTq79:
218
+ name: entropy
219
+
220
+ NISTq75:
221
+ name: exposure (x and gamma rays)
222
+
223
+ NISTq175:
224
+ name: Fahrenheit temperature
225
+
226
+ NISTq91:
227
+ name: fluidity
228
+
229
+ NISTq13:
230
+ name: force
231
+
232
+ NISTq45:
233
+ name: frequency
234
+
235
+ NISTq130:
236
+ name: gravitational constant
237
+
238
+ NISTq117:
239
+ name: group speed(group velocity)
240
+
241
+ NISTq117:
242
+ name: group velocity
243
+
244
+ NISTq153:
245
+ name: Hamilton function
246
+
247
+ NISTq19:
248
+ name: heat(amount of heat)
249
+
250
+ NISTq63:
251
+ name: heat capacity
252
+
253
+ NISTq62:
254
+ name: heat flux density
255
+
256
+ NISTq96:
257
+ name: height
258
+
259
+ NISTq92:
260
+ name: hydrodynamic permeability
261
+
262
+ NISTq47:
263
+ name: illuminance
264
+
265
+ NISTq129:
266
+ name: impulse
267
+
268
+ NISTq174:
269
+ name: index of acidity
270
+
271
+ NISTq32:
272
+ name: inductance
273
+
274
+ NISTq25:
275
+ name: inverse area
276
+
277
+ NISTq78:
278
+ name: irradiance
279
+
280
+ NISTq160:
281
+ name: isothermal compressibility
282
+
283
+ NISTq38:
284
+ name: kerma
285
+
286
+ NISTq85:
287
+ name: kinematic viscosity
288
+
289
+ NISTq182:
290
+ name: kinetic energy
291
+
292
+ NISTq152:
293
+ name: Lagrange function
294
+
295
+ NISTq1:
296
+ name: length
297
+
298
+ NISTq101:
299
+ name: length of path
300
+
301
+ NISTq118:
302
+ name: level of a field quantity
303
+
304
+ NISTq119:
305
+ name: level of a power quantity
306
+
307
+ NISTq126:
308
+ name: linear density
309
+
310
+ NISTq156:
311
+ name: linear expansion coefficient
312
+
313
+ NISTq136:
314
+ name: linear strain
315
+
316
+ NISTq126:
317
+ name: lineic mass(linear density)
318
+
319
+ NISTq121:
320
+ name: logarithmic decrement
321
+
322
+ NISTq90:
323
+ name: logarithmic ratio quantities
324
+
325
+ NISTq56:
326
+ name: luminance
327
+
328
+ NISTq46:
329
+ name: luminous flux
330
+
331
+ NISTq7:
332
+ name: luminous intensity
333
+
334
+ NISTq164:
335
+ name: magnetic dipole moment
336
+
337
+ NISTq87:
338
+ name: magnetic field
339
+
340
+ NISTq54:
341
+ name: magnetic field strength
342
+
343
+ NISTq30:
344
+ name: magnetic flux
345
+
346
+ NISTq14:
347
+ name: magnetic flux density
348
+
349
+ NISTq163:
350
+ name: magnetizability
351
+
352
+ NISTq161:
353
+ name: magnetomotive force
354
+
355
+ NISTq2:
356
+ name: mass
357
+
358
+ NISTq33:
359
+ name: mass concentration
360
+
361
+ NISTq51:
362
+ name: mass density
363
+
364
+ NISTq176:
365
+ name: mass divided by length
366
+
367
+ NISTq150:
368
+ name: mass flow rate
369
+
370
+ NISTq127:
371
+ name: mass moment of inertia
372
+
373
+ NISTq52:
374
+ name: massic volume(specific volume)
375
+
376
+ NISTq183:
377
+ name: mechanical energy
378
+
379
+ NISTq143:
380
+ name: modulus of compression
381
+
382
+ NISTq141:
383
+ name: modulus of elasticity
384
+
385
+ NISTq142:
386
+ name: modulus of rigidity
387
+
388
+ NISTq179:
389
+ name: molality of solute B
390
+
391
+ NISTq73:
392
+ name: molar energy
393
+
394
+ NISTq74:
395
+ name: molar entropy
396
+
397
+ NISTq83:
398
+ name: molar heat capacity
399
+
400
+ NISTq60:
401
+ name: moment of force
402
+
403
+ NISTq127:
404
+ name: moment of inertia(mass moment of inertia)
405
+
406
+ NISTq132:
407
+ name: moment of momentum
408
+
409
+ NISTq131:
410
+ name: momentum
411
+
412
+ NISTq134:
413
+ name: normal stress
414
+
415
+ NISTq109:
416
+ name: period(period duration)
417
+
418
+ NISTq109:
419
+ name: period duration
420
+
421
+ NISTq72:
422
+ name: permeability
423
+
424
+ NISTq71:
425
+ name: permittivity
426
+
427
+ NISTq42:
428
+ name: personal dose equivalent
429
+
430
+ NISTq123:
431
+ name: phase coefficient
432
+
433
+ NISTq116:
434
+ name: phase speed(phase velocity)
435
+
436
+ NISTq116:
437
+ name: phase velocity
438
+
439
+ NISTq9:
440
+ name: plane angle
441
+
442
+ NISTq140:
443
+ name: Poisson number
444
+
445
+ NISTq168:
446
+ name: polarizability
447
+
448
+ NISTq103:
449
+ name: position vector
450
+
451
+ NISTq24:
452
+ name: potential difference(electric potential difference)
453
+
454
+ NISTq77:
455
+ name: potential energy
456
+
457
+ NISTq20:
458
+ name: power
459
+
460
+ NISTq15:
461
+ name: pressure
462
+
463
+ NISTq159:
464
+ name: pressure coefficient
465
+
466
+ NISTq124:
467
+ name: propagation coefficient
468
+
469
+ NISTq99:
470
+ name: radial distance
471
+
472
+ NISTq89:
473
+ name: radiance
474
+
475
+ NISTq21:
476
+ name: radiant flux
477
+
478
+ NISTq88:
479
+ name: radiant intensity
480
+
481
+ NISTq98:
482
+ name: radius
483
+
484
+ NISTq105:
485
+ name: radius of curvature
486
+
487
+ NISTq91:
488
+ name: reciprocal of dynamic viscosity(fluidity)
489
+
490
+ NISTq93:
491
+ name: refractive index
492
+
493
+ NISTq125:
494
+ name: relative density(relative mass density)
495
+
496
+ NISTq125:
497
+ name: relative mass density
498
+
499
+ NISTq94:
500
+ name: relative permeability
501
+
502
+ NISTq158:
503
+ name: relative pressure coefficient
504
+
505
+ NISTq50:
506
+ name: repetency(wavenumber)
507
+
508
+ NISTq111:
509
+ name: rotation
510
+
511
+ NISTq112:
512
+ name: rotational frequency
513
+
514
+ NISTq144:
515
+ name: second axial moment of area
516
+
517
+ NISTq155:
518
+ name: second moment of area(area moment of inertia)
519
+
520
+ NISTq145:
521
+ name: second polar moment of area
522
+
523
+ NISTq146:
524
+ name: section modulus
525
+
526
+ NISTq142:
527
+ name: shear modulus(modulus of rigidity)
528
+
529
+ NISTq137:
530
+ name: shear strain
531
+
532
+ NISTq135:
533
+ name: shear stress
534
+
535
+ NISTq11:
536
+ name: solid angle
537
+
538
+ NISTq65:
539
+ name: specific energy
540
+
541
+ NISTq37:
542
+ name: specific energy imparted
543
+
544
+ NISTq80:
545
+ name: specific entropy
546
+
547
+ NISTq64:
548
+ name: specific heat capacity
549
+
550
+ NISTq52:
551
+ name: specific volume
552
+
553
+ NISTq12:
554
+ name: speed(velocity)
555
+
556
+ NISTq107:
557
+ name: speed of propagation of waves
558
+
559
+ NISTq148:
560
+ name: static friction factor
561
+
562
+ NISTq177:
563
+ name: storage capacity
564
+
565
+ NISTq177:
566
+ name: storage size(storage capacity)
567
+
568
+ NISTq16:
569
+ name: stress
570
+
571
+ NISTq81:
572
+ name: surface charge density
573
+
574
+ NISTq181:
575
+ name: surface coefficient of heat transfer
576
+
577
+ NISTq31:
578
+ name: surface density
579
+
580
+ NISTq61:
581
+ name: surface tension
582
+
583
+ NISTq66:
584
+ name: thermal conductivity
585
+
586
+ NISTq5:
587
+ name: thermodynamic temperature
588
+
589
+ NISTq97:
590
+ name: thickness
591
+
592
+ NISTq3:
593
+ name: time
594
+
595
+ NISTq110:
596
+ name: time constant
597
+
598
+ NISTq184:
599
+ name: torque
600
+
601
+ NISTq12:
602
+ name: velocity
603
+
604
+ NISTq24:
605
+ name: voltage(electric potential difference)
606
+
607
+ NISTq166:
608
+ name: voltage(electric potential)
609
+
610
+ NISTq26:
611
+ name: voltage(electric tension)
612
+
613
+ NISTq10:
614
+ name: volume
615
+
616
+ NISTq151:
617
+ name: volume flow rate
618
+
619
+ NISTq138:
620
+ name: volume strain
621
+
622
+ NISTq114:
623
+ name: wavelength
624
+
625
+ NISTq50:
626
+ name: wavenumber
627
+
628
+ NISTq128:
629
+ name: weight
630
+
631
+ NISTq18:
632
+ name: work
633
+