labimotion 2.3.0.rc6 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/labimotion/utils/units.rb +67 -32
- data/lib/labimotion/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae2d21e32163f9242bb0228e21a9d691bf02873463b6165a5f1e8ad204393c32
|
|
4
|
+
data.tar.gz: 1da451215fba4042ea72906285df462080d212a31017d55a3f0d9d43c970b91b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a5823f0eab2c94c8a76c1436f5596d0040c6931cdf486ad707456864ba1750efbc6e5897ebb4c137cba89cc1bfba349c7d9e7749d4c7b3c64b74c4115067b77e
|
|
7
|
+
data.tar.gz: 62f356dfedee9fff2776797201fc1f72cc3aadaef9bbff9fd93b4d402c45367ab8f04f7a5c3b842ffce7d89eff25d47bdc28164b79688941fbf492b3faa8b6c4
|
|
@@ -9,7 +9,7 @@ module Labimotion
|
|
|
9
9
|
"default": "",
|
|
10
10
|
"position": 10,
|
|
11
11
|
"placeholder": "acceleration",
|
|
12
|
-
"units": [{ "key": "mm_s2", "label": "mm/s
|
|
12
|
+
"units": [{ "key": "mm_s2", "label": "mm/s²" }]
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"type": "numeric",
|
|
@@ -59,10 +59,10 @@ module Labimotion
|
|
|
59
59
|
"position": 38,
|
|
60
60
|
"placeholder": "areal density",
|
|
61
61
|
"units": [
|
|
62
|
-
{ "key": "kg_m2", "label": "kg m
|
|
63
|
-
{ "key": "t_m2", "label": "t m
|
|
64
|
-
{ "key": "kg_cm2", "label": "kg cm
|
|
65
|
-
{ "key": "g_m2", "label": "g m
|
|
62
|
+
{ "key": "kg_m2", "label": "kg m⁻²", "nm": 1 },
|
|
63
|
+
{ "key": "t_m2", "label": "t m⁻²", "nm": 0.001 },
|
|
64
|
+
{ "key": "kg_cm2", "label": "kg cm⁻²", "nm": 1e-4 },
|
|
65
|
+
{ "key": "g_m2", "label": "g m⁻²", "nm": 1000 }
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
68
|
{
|
|
@@ -97,7 +97,7 @@ module Labimotion
|
|
|
97
97
|
"position": 60,
|
|
98
98
|
"placeholder": "concentration",
|
|
99
99
|
"units": [
|
|
100
|
-
{ "key": "ng_l", "label": "ng/L", "nm":
|
|
100
|
+
{ "key": "ng_l", "label": "ng/L", "nm": 1000000000 },
|
|
101
101
|
{ "key": "mg_l", "label": "mg/L", "nm": 1000 },
|
|
102
102
|
{ "key": "g_l", "label": "g/L", "nm": 1 }
|
|
103
103
|
]
|
|
@@ -171,7 +171,7 @@ module Labimotion
|
|
|
171
171
|
"position": 75,
|
|
172
172
|
"placeholder": "density",
|
|
173
173
|
"units": [
|
|
174
|
-
{ "key": "g_cm3", "label": "g/cm
|
|
174
|
+
{ "key": "g_cm3", "label": "g/cm³", "nm": 1 },
|
|
175
175
|
{ "key": "kg_l", "label": "kg/l", "nm": 1 }
|
|
176
176
|
]
|
|
177
177
|
},
|
|
@@ -198,7 +198,8 @@ module Labimotion
|
|
|
198
198
|
{ "key": "d", "label": "d", "nm": 1 },
|
|
199
199
|
{ "key": "h", "label": "h", "nm": 24 },
|
|
200
200
|
{ "key": "min", "label": "m", "nm": 1440 },
|
|
201
|
-
{ "key": "s", "label": "s", "nm": 86400 }
|
|
201
|
+
{ "key": "s", "label": "s", "nm": 86400 },
|
|
202
|
+
{ "key": "y", "label": "y", "nm": 0.0027378507871321013 }
|
|
202
203
|
]
|
|
203
204
|
},
|
|
204
205
|
{
|
|
@@ -280,7 +281,8 @@ module Labimotion
|
|
|
280
281
|
{ "key": "eV", "label": "eV", "nm": 6.241509e21 },
|
|
281
282
|
{ "key": "keV", "label": "keV", "nm": 6.241509e18 },
|
|
282
283
|
{ "key": "j", "label": "J", "nm": 1000 },
|
|
283
|
-
{ "key": "k_j", "label": "kJ", "nm": 1 }
|
|
284
|
+
{ "key": "k_j", "label": "kJ", "nm": 1 },
|
|
285
|
+
{ "key": "kWh", "label": "kWh", "nm": 2.7777778e-4 }
|
|
284
286
|
]
|
|
285
287
|
},
|
|
286
288
|
{
|
|
@@ -357,9 +359,9 @@ module Labimotion
|
|
|
357
359
|
{ "key": "k_min", "label": "K/min", "nm": 1 },
|
|
358
360
|
{ "key": "k_s", "label": "K/s", "nm": 0.016666666666667 },
|
|
359
361
|
{ "key": "k_h", "label": "K/h", "nm": 60 },
|
|
360
|
-
{ "key": "degc_min", "label": "°C min
|
|
361
|
-
{ "key": "degc_s", "label": "°C s
|
|
362
|
-
{ "key": "degc_h", "label": "°C h
|
|
362
|
+
{ "key": "degc_min", "label": "°C min⁻¹", "nm": 1 },
|
|
363
|
+
{ "key": "degc_s", "label": "°C s⁻¹", "nm": 0.016666666666667 },
|
|
364
|
+
{ "key": "degc_h", "label": "°C h⁻¹", "nm": 60 }
|
|
363
365
|
]
|
|
364
366
|
},
|
|
365
367
|
{
|
|
@@ -394,7 +396,23 @@ module Labimotion
|
|
|
394
396
|
"units": [
|
|
395
397
|
{ "key": "g", "label": "g", "nm": 1 },
|
|
396
398
|
{ "key": "mg", "label": "mg", "nm": 1000 },
|
|
397
|
-
{ "key": "ug", "label": "µg", "nm": 1000000 }
|
|
399
|
+
{ "key": "ug", "label": "µg", "nm": 1000000 },
|
|
400
|
+
{ "key": "kg", "label": "kg", "nm": 0.001 }
|
|
401
|
+
]
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"type": "numeric",
|
|
405
|
+
"field": "mass_flow",
|
|
406
|
+
"label": "Mass flow",
|
|
407
|
+
"default": "",
|
|
408
|
+
"position": 121,
|
|
409
|
+
"placeholder": "mass flow",
|
|
410
|
+
"units": [
|
|
411
|
+
{ "key": "g_min", "label": "g/min", "nm": 1 },
|
|
412
|
+
{ "key": "kg_h", "label": "kg/h", "nm": 0.06 },
|
|
413
|
+
{ "key": "kg_s", "label": "kg/s", "nm": 0.000016666666666667 },
|
|
414
|
+
{ "key": "g_s", "label": "g/s", "nm": 0.016666666666667 },
|
|
415
|
+
{ "key": "mg_s", "label": "mg/s", "nm": 16.666666666667 }
|
|
398
416
|
]
|
|
399
417
|
},
|
|
400
418
|
{
|
|
@@ -416,8 +434,8 @@ module Labimotion
|
|
|
416
434
|
"position": 125,
|
|
417
435
|
"placeholder": "mass loading",
|
|
418
436
|
"units": [
|
|
419
|
-
{ "key": "g_cm2", "label": "g cm
|
|
420
|
-
{ "key": "mg_cm2", "label": "mg cm
|
|
437
|
+
{ "key": "g_cm2", "label": "g cm⁻²", "nm": 1 },
|
|
438
|
+
{ "key": "mg_cm2", "label": "mg cm⁻²", "nm": 1000 }
|
|
421
439
|
]
|
|
422
440
|
},
|
|
423
441
|
{
|
|
@@ -440,7 +458,7 @@ module Labimotion
|
|
|
440
458
|
"position": 127,
|
|
441
459
|
"placeholder": "molar conductivity",
|
|
442
460
|
"units": [
|
|
443
|
-
{ "key": "s_cm2_mol", "label": "S cm
|
|
461
|
+
{ "key": "s_cm2_mol", "label": "S cm² mol⁻¹", "nm": 1 }
|
|
444
462
|
]
|
|
445
463
|
},
|
|
446
464
|
{
|
|
@@ -492,6 +510,7 @@ module Labimotion
|
|
|
492
510
|
{ "key": "atm", "label": "atm", "nm": 1 },
|
|
493
511
|
{ "key": "pa", "label": "Pa", "nm": 101325 },
|
|
494
512
|
{ "key": "kpa", "label": "kPa", "nm": 101.325 },
|
|
513
|
+
{ "key": "mpa", "label": "MPa", "nm": 0.101325 },
|
|
495
514
|
{ "key": "hpa", "label": "hPa", "nm": 1013.25 },
|
|
496
515
|
{ "key": "torr", "label": "Torr", "nm": 760 },
|
|
497
516
|
{ "key": "bar", "label": "bar", "nm": 1.01325 },
|
|
@@ -530,8 +549,8 @@ module Labimotion
|
|
|
530
549
|
"position": 150,
|
|
531
550
|
"placeholder": "Reaction rate",
|
|
532
551
|
"units": [
|
|
533
|
-
{ "key": "mol_lmin", "label": "mol L
|
|
534
|
-
{ "key": "mol_lsec", "label": "mol L
|
|
552
|
+
{ "key": "mol_lmin", "label": "mol L⁻¹ min⁻¹", "nm": 1 },
|
|
553
|
+
{ "key": "mol_lsec", "label": "mol L⁻¹ s⁻¹", "nm": 0.016666666666667 }
|
|
535
554
|
]
|
|
536
555
|
},
|
|
537
556
|
{
|
|
@@ -558,6 +577,22 @@ module Labimotion
|
|
|
558
577
|
{ "key": "v_s", "label": "V/s", "nm": 1 }
|
|
559
578
|
]
|
|
560
579
|
},
|
|
580
|
+
{
|
|
581
|
+
"type": "numeric",
|
|
582
|
+
"field": "space_time_yield",
|
|
583
|
+
"label": "Space-time yield",
|
|
584
|
+
"default": "",
|
|
585
|
+
"position": 156,
|
|
586
|
+
"placeholder": "space-time yield",
|
|
587
|
+
"units": [
|
|
588
|
+
{ "key": "kg_m3_d", "label": "kg/(m³*d)", "nm": 1 },
|
|
589
|
+
{ "key": "kg_m3_h", "label": "kg/(m³*h)", "nm": 0.041666666666667 },
|
|
590
|
+
{ "key": "g_l_h", "label": "g/(L*h)", "nm": 0.041666666666667 },
|
|
591
|
+
{ "key": "mg_ml_h", "label": "mg/(mL*h)", "nm": 0.041666666666667 },
|
|
592
|
+
{ "key": "g_l_min", "label": "g/(L*min)", "nm": 0.00069444444444444 },
|
|
593
|
+
{ "key": "g_m3_s", "label": "g/(m³*s)", "nm": 0.011574074074074 }
|
|
594
|
+
]
|
|
595
|
+
},
|
|
561
596
|
{
|
|
562
597
|
"type": "numeric",
|
|
563
598
|
"field": "specific_current",
|
|
@@ -568,9 +603,9 @@ module Labimotion
|
|
|
568
603
|
"units": [
|
|
569
604
|
{ "key": "ma_g", "label": "mA/g", "nm": 1000, "unit_type": "mass" },
|
|
570
605
|
{ "key": "a_g", "label": "A/g", "nm": 1, "unit_type": "mass" },
|
|
571
|
-
{ "key": "ma_cm2", "label": "mA/cm
|
|
572
|
-
{ "key": "a_cm2", "label": "A/cm
|
|
573
|
-
{ "key": "a_mm2", "label": "A/mm
|
|
606
|
+
{ "key": "ma_cm2", "label": "mA/cm²", "nm": 1000, "unit_type": "area" },
|
|
607
|
+
{ "key": "a_cm2", "label": "A/cm²", "nm": 1, "unit_type": "area" },
|
|
608
|
+
{ "key": "a_mm2", "label": "A/mm²", "nm": 0.01, "unit_type": "area" }
|
|
574
609
|
]
|
|
575
610
|
},
|
|
576
611
|
{
|
|
@@ -593,7 +628,7 @@ module Labimotion
|
|
|
593
628
|
"position": 158,
|
|
594
629
|
"placeholder": "Specific surface area",
|
|
595
630
|
"units": [
|
|
596
|
-
{ "key": "m2_g", "label": "m
|
|
631
|
+
{ "key": "m2_g", "label": "m²/g", "nm": 1 }
|
|
597
632
|
]
|
|
598
633
|
},
|
|
599
634
|
{
|
|
@@ -603,7 +638,7 @@ module Labimotion
|
|
|
603
638
|
"default": "",
|
|
604
639
|
"position": 160,
|
|
605
640
|
"placeholder": "Specific Volume",
|
|
606
|
-
"units": [{ "key": "cm3_g", "label": "cm
|
|
641
|
+
"units": [{ "key": "cm3_g", "label": "cm³/g", "nm": 1 }]
|
|
607
642
|
},
|
|
608
643
|
{
|
|
609
644
|
"type": "numeric",
|
|
@@ -642,10 +677,10 @@ module Labimotion
|
|
|
642
677
|
"position": 170,
|
|
643
678
|
"placeholder": "surface",
|
|
644
679
|
"units": [
|
|
645
|
-
{ "key": "a_2", "label": "A
|
|
646
|
-
{ "key": "um_2", "label": "µm
|
|
647
|
-
{ "key": "mm_2", "label": "mm
|
|
648
|
-
{ "key": "cm_2", "label": "cm
|
|
680
|
+
{ "key": "a_2", "label": "A²", "nm": 1.0e16 },
|
|
681
|
+
{ "key": "um_2", "label": "µm²", "nm": 1.0e8 },
|
|
682
|
+
{ "key": "mm_2", "label": "mm²", "nm": 100 },
|
|
683
|
+
{ "key": "cm_2", "label": "cm²", "nm": 1 }
|
|
649
684
|
]
|
|
650
685
|
},
|
|
651
686
|
{
|
|
@@ -682,8 +717,8 @@ module Labimotion
|
|
|
682
717
|
"position": 186,
|
|
683
718
|
"placeholder": "tensile stress",
|
|
684
719
|
"units": [
|
|
685
|
-
{ "key": "n_cm2", "label": "N cm
|
|
686
|
-
{ "key": "n_mm2", "label": "N mm
|
|
720
|
+
{ "key": "n_cm2", "label": "N cm⁻²", "nm": 1 },
|
|
721
|
+
{ "key": "n_mm2", "label": "N mm⁻²", "nm": 0.01 }
|
|
687
722
|
]
|
|
688
723
|
},
|
|
689
724
|
{
|
|
@@ -693,7 +728,7 @@ module Labimotion
|
|
|
693
728
|
"default": "",
|
|
694
729
|
"position": 190,
|
|
695
730
|
"placeholder": "Turnover number",
|
|
696
|
-
"units": [{ "key": "1_s", "label": "1/s", "nm": 1 }, { "key": "1_m", "label": "1/
|
|
731
|
+
"units": [{ "key": "1_s", "label": "1/s", "nm": 1 }, { "key": "1_m", "label": "1/min", "nm": 60 }]
|
|
697
732
|
},
|
|
698
733
|
{
|
|
699
734
|
"type": "numeric",
|
|
@@ -714,7 +749,7 @@ module Labimotion
|
|
|
714
749
|
"default": "",
|
|
715
750
|
"position": 205,
|
|
716
751
|
"placeholder": "Kinematic Viscosity",
|
|
717
|
-
"units": [{ "key": "m2_s", "label": "m
|
|
752
|
+
"units": [{ "key": "m2_s", "label": "m²/s", "nm": 1 }]
|
|
718
753
|
},
|
|
719
754
|
{
|
|
720
755
|
"type": "numeric",
|
|
@@ -767,6 +802,6 @@ module Labimotion
|
|
|
767
802
|
{ "key": "m3", "label": "m³", "nm": 0.000001 }
|
|
768
803
|
]
|
|
769
804
|
}
|
|
770
|
-
|
|
805
|
+
]
|
|
771
806
|
end
|
|
772
807
|
end
|
data/lib/labimotion/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: labimotion
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.0
|
|
4
|
+
version: 2.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chia-Lin Lin
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-
|
|
12
|
+
date: 2026-08-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: caxlsx
|
|
@@ -222,9 +222,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
222
222
|
version: '3.4'
|
|
223
223
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
224
|
requirements:
|
|
225
|
-
- - "
|
|
225
|
+
- - ">="
|
|
226
226
|
- !ruby/object:Gem::Version
|
|
227
|
-
version:
|
|
227
|
+
version: '0'
|
|
228
228
|
requirements: []
|
|
229
229
|
rubygems_version: 3.1.6
|
|
230
230
|
signing_key:
|