physpyx 2.0.0__tar.gz → 2.0.1__tar.gz
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.
- {physpyx-2.0.0 → physpyx-2.0.1}/PKG-INFO +1 -1
- {physpyx-2.0.0 → physpyx-2.0.1}/pyproject.toml +1 -1
- {physpyx-2.0.0 → physpyx-2.0.1}/src/physpyx/quantity.py +5 -4
- {physpyx-2.0.0 → physpyx-2.0.1}/README.md +0 -0
- {physpyx-2.0.0 → physpyx-2.0.1}/src/physpyx/__init__.py +0 -0
- {physpyx-2.0.0 → physpyx-2.0.1}/src/physpyx/astronomy.py +0 -0
- {physpyx-2.0.0 → physpyx-2.0.1}/src/physpyx/data/all-nuclides.csv +0 -0
- {physpyx-2.0.0 → physpyx-2.0.1}/src/physpyx/helper.py +0 -0
- {physpyx-2.0.0 → physpyx-2.0.1}/src/physpyx/manager.py +0 -0
- {physpyx-2.0.0 → physpyx-2.0.1}/src/physpyx/nuclide.py +0 -0
- {physpyx-2.0.0 → physpyx-2.0.1}/src/physpyx/physpyx.py +0 -0
- {physpyx-2.0.0 → physpyx-2.0.1}/src/physpyx/qty.py +0 -0
|
@@ -50,6 +50,7 @@ class SiunitxQuantity(Quantity):
|
|
|
50
50
|
"tesla",
|
|
51
51
|
"henry",
|
|
52
52
|
"farad",
|
|
53
|
+
"coulomb",
|
|
53
54
|
]
|
|
54
55
|
}
|
|
55
56
|
|
|
@@ -71,9 +72,9 @@ class SiunitxQuantity(Quantity):
|
|
|
71
72
|
:param base: If true, converts the unit into SI units.
|
|
72
73
|
:param compact: As described in the "Pint" documentation "returns a
|
|
73
74
|
rescaled to compact, human-readable units".
|
|
74
|
-
:param preferred: If true, attempts to convert
|
|
75
|
-
For instance (kg.m/s2 will be converted to N). Note that, this
|
|
76
|
-
to "True" which means that all SiunitxQuantity resulting from
|
|
75
|
+
:param preferred: If true, attempts to convert units into preferred
|
|
76
|
+
ones. For instance (kg.m/s2 will be converted to N). Note that, this
|
|
77
|
+
defaults to "True" which means that all SiunitxQuantity resulting from
|
|
77
78
|
mathematical operations, will be converted.
|
|
78
79
|
"""
|
|
79
80
|
quantity = cast(SiunitxQuantity, super().__new__(cls, value, units))
|
|
@@ -241,7 +242,7 @@ class Constants:
|
|
|
241
242
|
"k": (8.987551e9, "newton meter squared per coulomb squared", ".0e"),
|
|
242
243
|
"epsilon0": (
|
|
243
244
|
8.8541878188e-12,
|
|
244
|
-
"coulomb squared per newton meter
|
|
245
|
+
"coulomb squared per newton meter squared",
|
|
245
246
|
".3e",
|
|
246
247
|
),
|
|
247
248
|
"mu0": (1.2566370612696005e-06, "tesla meter per ampere", ".3e"),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|