qnty 0.0.7__py3-none-any.whl → 0.0.9__py3-none-any.whl
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.
- qnty/__init__.py +140 -58
- qnty/_backup/problem_original.py +1251 -0
- qnty/_backup/quantity.py +63 -0
- qnty/codegen/cli.py +125 -0
- qnty/codegen/generators/data/unit_data.json +8807 -0
- qnty/codegen/generators/data_processor.py +345 -0
- qnty/codegen/generators/dimensions_gen.py +434 -0
- qnty/codegen/generators/doc_generator.py +141 -0
- qnty/codegen/generators/out/dimension_mapping.json +974 -0
- qnty/codegen/generators/out/dimension_metadata.json +123 -0
- qnty/codegen/generators/out/units_metadata.json +223 -0
- qnty/codegen/generators/quantities_gen.py +159 -0
- qnty/codegen/generators/setters_gen.py +178 -0
- qnty/codegen/generators/stubs_gen.py +167 -0
- qnty/codegen/generators/units_gen.py +295 -0
- qnty/codegen/generators/utils/__init__.py +0 -0
- qnty/equations/__init__.py +4 -0
- qnty/equations/equation.py +257 -0
- qnty/equations/system.py +127 -0
- qnty/expressions/__init__.py +61 -0
- qnty/expressions/cache.py +94 -0
- qnty/expressions/functions.py +96 -0
- qnty/expressions/nodes.py +546 -0
- qnty/generated/__init__.py +0 -0
- qnty/generated/dimensions.py +514 -0
- qnty/generated/quantities.py +6003 -0
- qnty/generated/quantities.pyi +4192 -0
- qnty/generated/setters.py +12210 -0
- qnty/generated/units.py +9798 -0
- qnty/problem/__init__.py +91 -0
- qnty/problem/base.py +142 -0
- qnty/problem/composition.py +385 -0
- qnty/problem/composition_mixin.py +382 -0
- qnty/problem/equations.py +413 -0
- qnty/problem/metaclass.py +302 -0
- qnty/problem/reconstruction.py +1016 -0
- qnty/problem/solving.py +180 -0
- qnty/problem/validation.py +64 -0
- qnty/problem/variables.py +239 -0
- qnty/quantities/__init__.py +6 -0
- qnty/quantities/expression_quantity.py +314 -0
- qnty/quantities/quantity.py +428 -0
- qnty/quantities/typed_quantity.py +215 -0
- qnty/solving/__init__.py +0 -0
- qnty/solving/manager.py +90 -0
- qnty/solving/order.py +355 -0
- qnty/solving/solvers/__init__.py +20 -0
- qnty/solving/solvers/base.py +92 -0
- qnty/solving/solvers/iterative.py +185 -0
- qnty/solving/solvers/simultaneous.py +547 -0
- qnty/units/__init__.py +0 -0
- qnty/{prefixes.py → units/prefixes.py} +54 -33
- qnty/{unit.py → units/registry.py} +73 -32
- qnty/utils/__init__.py +0 -0
- qnty/utils/logging.py +40 -0
- qnty/validation/__init__.py +0 -0
- qnty/validation/registry.py +0 -0
- qnty/validation/rules.py +167 -0
- qnty-0.0.9.dist-info/METADATA +199 -0
- qnty-0.0.9.dist-info/RECORD +63 -0
- qnty/dimension.py +0 -186
- qnty/equation.py +0 -216
- qnty/expression.py +0 -492
- qnty/unit_types/base.py +0 -47
- qnty/units.py +0 -8113
- qnty/variable.py +0 -263
- qnty/variable_types/base.py +0 -58
- qnty/variable_types/expression_variable.py +0 -68
- qnty/variable_types/typed_variable.py +0 -87
- qnty/variables.py +0 -2298
- qnty/variables.pyi +0 -6148
- qnty-0.0.7.dist-info/METADATA +0 -355
- qnty-0.0.7.dist-info/RECORD +0 -19
- /qnty/{unit_types → codegen}/__init__.py +0 -0
- /qnty/{variable_types → codegen/generators}/__init__.py +0 -0
- {qnty-0.0.7.dist-info → qnty-0.0.9.dist-info}/WHEEL +0 -0
@@ -0,0 +1,4192 @@
|
|
1
|
+
"""
|
2
|
+
Type stubs for quantities module - Complete Edition.
|
3
|
+
|
4
|
+
Provides complete type hints for IDE autocomplete and type checking
|
5
|
+
for quantity classes and their setter relationships.
|
6
|
+
Contains 107 quantity types with 871 total units.
|
7
|
+
|
8
|
+
Auto-generated from unit_data.json.
|
9
|
+
"""
|
10
|
+
|
11
|
+
from typing import Any
|
12
|
+
|
13
|
+
from ..quantities.typed_quantity import TypedQuantity
|
14
|
+
from . import dimensions as dim
|
15
|
+
from . import setters as ts
|
16
|
+
|
17
|
+
# ===== QUANTITY CLASSES =====
|
18
|
+
# Type stubs for quantity classes with setter relationships
|
19
|
+
|
20
|
+
class AbsorbedDose(TypedQuantity):
|
21
|
+
"""
|
22
|
+
Type-safe absorbed radiation dose quantity with expression capabilities.
|
23
|
+
|
24
|
+
Constructor Options:
|
25
|
+
-------------------
|
26
|
+
- AbsorbedDose("variable_name") -> Create unknown absorbed radiation dose
|
27
|
+
- AbsorbedDose(value, "unit", "variable_name") -> Create known absorbed radiation dose
|
28
|
+
|
29
|
+
Examples:
|
30
|
+
---------
|
31
|
+
>>> unknown = AbsorbedDose("pressure") # Unknown absorbed radiation dose
|
32
|
+
>>> known = AbsorbedDose(100, "erg_per_gram", "inlet_pressure") # Known absorbed radiation dose
|
33
|
+
|
34
|
+
Available units: "erg_per_gram", "gram_rad", "gray"
|
35
|
+
"""
|
36
|
+
__slots__ = ()
|
37
|
+
_setter_class = ts.AbsorbedDoseSetter
|
38
|
+
_expected_dimension = dim.ABSORBED_DOSE
|
39
|
+
|
40
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
41
|
+
|
42
|
+
def set(self, value: int | float) -> ts.AbsorbedDoseSetter:
|
43
|
+
"""
|
44
|
+
Create a setter for this absorbed radiation dose quantity.
|
45
|
+
|
46
|
+
Args:
|
47
|
+
value: The numeric value to set
|
48
|
+
|
49
|
+
Returns:
|
50
|
+
AbsorbedDoseSetter: A setter with unit properties like .meters, .inches, etc.
|
51
|
+
|
52
|
+
Example:
|
53
|
+
>>> length = Length("beam_length")
|
54
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
55
|
+
"""
|
56
|
+
...
|
57
|
+
|
58
|
+
|
59
|
+
class Acceleration(TypedQuantity):
|
60
|
+
"""
|
61
|
+
Type-safe acceleration quantity with expression capabilities.
|
62
|
+
|
63
|
+
Constructor Options:
|
64
|
+
-------------------
|
65
|
+
- Acceleration("variable_name") -> Create unknown acceleration
|
66
|
+
- Acceleration(value, "unit", "variable_name") -> Create known acceleration
|
67
|
+
|
68
|
+
Examples:
|
69
|
+
---------
|
70
|
+
>>> unknown = Acceleration("pressure") # Unknown acceleration
|
71
|
+
>>> known = Acceleration(100, "meter_per_second_squared", "inlet_pressure") # Known acceleration
|
72
|
+
|
73
|
+
Available units: "meter_per_second_squared", "foot_per_second_squared"
|
74
|
+
"""
|
75
|
+
__slots__ = ()
|
76
|
+
_setter_class = ts.AccelerationSetter
|
77
|
+
_expected_dimension = dim.ACCELERATION
|
78
|
+
|
79
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
80
|
+
|
81
|
+
def set(self, value: int | float) -> ts.AccelerationSetter:
|
82
|
+
"""
|
83
|
+
Create a setter for this acceleration quantity.
|
84
|
+
|
85
|
+
Args:
|
86
|
+
value: The numeric value to set
|
87
|
+
|
88
|
+
Returns:
|
89
|
+
AccelerationSetter: A setter with unit properties like .meters, .inches, etc.
|
90
|
+
|
91
|
+
Example:
|
92
|
+
>>> length = Length("beam_length")
|
93
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
94
|
+
"""
|
95
|
+
...
|
96
|
+
|
97
|
+
|
98
|
+
class ActivationEnergy(TypedQuantity):
|
99
|
+
"""
|
100
|
+
Type-safe activation energy quantity with expression capabilities.
|
101
|
+
|
102
|
+
Constructor Options:
|
103
|
+
-------------------
|
104
|
+
- ActivationEnergy("variable_name") -> Create unknown activation energy
|
105
|
+
- ActivationEnergy(value, "unit", "variable_name") -> Create known activation energy
|
106
|
+
|
107
|
+
Examples:
|
108
|
+
---------
|
109
|
+
>>> unknown = ActivationEnergy("pressure") # Unknown activation energy
|
110
|
+
>>> known = ActivationEnergy(100, "btu_per_pound_mole", "inlet_pressure") # Known activation energy
|
111
|
+
|
112
|
+
Available units: "btu_per_pound_mole", "calorie_mean_per_gram_mole", "joule_per_gram_mole"
|
113
|
+
"""
|
114
|
+
__slots__ = ()
|
115
|
+
_setter_class = ts.ActivationEnergySetter
|
116
|
+
_expected_dimension = dim.ACTIVATION_ENERGY
|
117
|
+
|
118
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
119
|
+
|
120
|
+
def set(self, value: int | float) -> ts.ActivationEnergySetter:
|
121
|
+
"""
|
122
|
+
Create a setter for this activation energy quantity.
|
123
|
+
|
124
|
+
Args:
|
125
|
+
value: The numeric value to set
|
126
|
+
|
127
|
+
Returns:
|
128
|
+
ActivationEnergySetter: A setter with unit properties like .meters, .inches, etc.
|
129
|
+
|
130
|
+
Example:
|
131
|
+
>>> length = Length("beam_length")
|
132
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
133
|
+
"""
|
134
|
+
...
|
135
|
+
|
136
|
+
|
137
|
+
class AmountOfSubstance(TypedQuantity):
|
138
|
+
"""
|
139
|
+
Type-safe amount of substance quantity with expression capabilities.
|
140
|
+
|
141
|
+
Constructor Options:
|
142
|
+
-------------------
|
143
|
+
- AmountOfSubstance("variable_name") -> Create unknown amount of substance
|
144
|
+
- AmountOfSubstance(value, "unit", "variable_name") -> Create known amount of substance
|
145
|
+
|
146
|
+
Examples:
|
147
|
+
---------
|
148
|
+
>>> unknown = AmountOfSubstance("pressure") # Unknown amount of substance
|
149
|
+
>>> known = AmountOfSubstance(100, "kilogram_mol", "inlet_pressure") # Known amount of substance
|
150
|
+
|
151
|
+
Available units: "kilogram_mol", "mole", "pound_mole"
|
152
|
+
"""
|
153
|
+
__slots__ = ()
|
154
|
+
_setter_class = ts.AmountOfSubstanceSetter
|
155
|
+
_expected_dimension = dim.AMOUNT_OF_SUBSTANCE
|
156
|
+
|
157
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
158
|
+
|
159
|
+
def set(self, value: int | float) -> ts.AmountOfSubstanceSetter:
|
160
|
+
"""
|
161
|
+
Create a setter for this amount of substance quantity.
|
162
|
+
|
163
|
+
Args:
|
164
|
+
value: The numeric value to set
|
165
|
+
|
166
|
+
Returns:
|
167
|
+
AmountOfSubstanceSetter: A setter with unit properties like .meters, .inches, etc.
|
168
|
+
|
169
|
+
Example:
|
170
|
+
>>> length = Length("beam_length")
|
171
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
172
|
+
"""
|
173
|
+
...
|
174
|
+
|
175
|
+
|
176
|
+
class AnglePlane(TypedQuantity):
|
177
|
+
"""
|
178
|
+
Type-safe angle, plane quantity with expression capabilities.
|
179
|
+
|
180
|
+
Constructor Options:
|
181
|
+
-------------------
|
182
|
+
- AnglePlane("variable_name") -> Create unknown angle, plane
|
183
|
+
- AnglePlane(value, "unit", "variable_name") -> Create known angle, plane
|
184
|
+
|
185
|
+
Examples:
|
186
|
+
---------
|
187
|
+
>>> unknown = AnglePlane("pressure") # Unknown angle, plane
|
188
|
+
>>> known = AnglePlane(100, "degree", "inlet_pressure") # Known angle, plane
|
189
|
+
|
190
|
+
Available units: "degree", "gon", "grade"
|
191
|
+
"""
|
192
|
+
__slots__ = ()
|
193
|
+
_setter_class = ts.AnglePlaneSetter
|
194
|
+
_expected_dimension = dim.ANGLE_PLANE
|
195
|
+
|
196
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
197
|
+
|
198
|
+
def set(self, value: int | float) -> ts.AnglePlaneSetter:
|
199
|
+
"""
|
200
|
+
Create a setter for this angle, plane quantity.
|
201
|
+
|
202
|
+
Args:
|
203
|
+
value: The numeric value to set
|
204
|
+
|
205
|
+
Returns:
|
206
|
+
AnglePlaneSetter: A setter with unit properties like .meters, .inches, etc.
|
207
|
+
|
208
|
+
Example:
|
209
|
+
>>> length = Length("beam_length")
|
210
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
211
|
+
"""
|
212
|
+
...
|
213
|
+
|
214
|
+
|
215
|
+
class AngleSolid(TypedQuantity):
|
216
|
+
"""
|
217
|
+
Type-safe angle, solid quantity with expression capabilities.
|
218
|
+
|
219
|
+
Constructor Options:
|
220
|
+
-------------------
|
221
|
+
- AngleSolid("variable_name") -> Create unknown angle, solid
|
222
|
+
- AngleSolid(value, "unit", "variable_name") -> Create known angle, solid
|
223
|
+
|
224
|
+
Examples:
|
225
|
+
---------
|
226
|
+
>>> unknown = AngleSolid("pressure") # Unknown angle, solid
|
227
|
+
>>> known = AngleSolid(100, "spat", "inlet_pressure") # Known angle, solid
|
228
|
+
|
229
|
+
Available units: "spat", "square_degree", "square_gon"
|
230
|
+
"""
|
231
|
+
__slots__ = ()
|
232
|
+
_setter_class = ts.AngleSolidSetter
|
233
|
+
_expected_dimension = dim.ANGLE_SOLID
|
234
|
+
|
235
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
236
|
+
|
237
|
+
def set(self, value: int | float) -> ts.AngleSolidSetter:
|
238
|
+
"""
|
239
|
+
Create a setter for this angle, solid quantity.
|
240
|
+
|
241
|
+
Args:
|
242
|
+
value: The numeric value to set
|
243
|
+
|
244
|
+
Returns:
|
245
|
+
AngleSolidSetter: A setter with unit properties like .meters, .inches, etc.
|
246
|
+
|
247
|
+
Example:
|
248
|
+
>>> length = Length("beam_length")
|
249
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
250
|
+
"""
|
251
|
+
...
|
252
|
+
|
253
|
+
|
254
|
+
class AngularAcceleration(TypedQuantity):
|
255
|
+
"""
|
256
|
+
Type-safe angular acceleration quantity with expression capabilities.
|
257
|
+
|
258
|
+
Constructor Options:
|
259
|
+
-------------------
|
260
|
+
- AngularAcceleration("variable_name") -> Create unknown angular acceleration
|
261
|
+
- AngularAcceleration(value, "unit", "variable_name") -> Create known angular acceleration
|
262
|
+
|
263
|
+
Examples:
|
264
|
+
---------
|
265
|
+
>>> unknown = AngularAcceleration("pressure") # Unknown angular acceleration
|
266
|
+
>>> known = AngularAcceleration(100, "radian_per_second_squared", "inlet_pressure") # Known angular acceleration
|
267
|
+
|
268
|
+
Available units: "radian_per_second_squared", "revolution_per_second_squared", "rpm_or_revolution_per_minute"
|
269
|
+
"""
|
270
|
+
__slots__ = ()
|
271
|
+
_setter_class = ts.AngularAccelerationSetter
|
272
|
+
_expected_dimension = dim.ANGULAR_ACCELERATION
|
273
|
+
|
274
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
275
|
+
|
276
|
+
def set(self, value: int | float) -> ts.AngularAccelerationSetter:
|
277
|
+
"""
|
278
|
+
Create a setter for this angular acceleration quantity.
|
279
|
+
|
280
|
+
Args:
|
281
|
+
value: The numeric value to set
|
282
|
+
|
283
|
+
Returns:
|
284
|
+
AngularAccelerationSetter: A setter with unit properties like .meters, .inches, etc.
|
285
|
+
|
286
|
+
Example:
|
287
|
+
>>> length = Length("beam_length")
|
288
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
289
|
+
"""
|
290
|
+
...
|
291
|
+
|
292
|
+
|
293
|
+
class AngularMomentum(TypedQuantity):
|
294
|
+
"""
|
295
|
+
Type-safe angular momentum quantity with expression capabilities.
|
296
|
+
|
297
|
+
Constructor Options:
|
298
|
+
-------------------
|
299
|
+
- AngularMomentum("variable_name") -> Create unknown angular momentum
|
300
|
+
- AngularMomentum(value, "unit", "variable_name") -> Create known angular momentum
|
301
|
+
|
302
|
+
Examples:
|
303
|
+
---------
|
304
|
+
>>> unknown = AngularMomentum("pressure") # Unknown angular momentum
|
305
|
+
>>> known = AngularMomentum(100, "gram_centimeter_squared_per_second", "inlet_pressure") # Known angular momentum
|
306
|
+
|
307
|
+
Available units: "gram_centimeter_squared_per_second", "kilogram_meter_squared_per_second", "pound_force_square_foot_per_second"
|
308
|
+
"""
|
309
|
+
__slots__ = ()
|
310
|
+
_setter_class = ts.AngularMomentumSetter
|
311
|
+
_expected_dimension = dim.ANGULAR_MOMENTUM
|
312
|
+
|
313
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
314
|
+
|
315
|
+
def set(self, value: int | float) -> ts.AngularMomentumSetter:
|
316
|
+
"""
|
317
|
+
Create a setter for this angular momentum quantity.
|
318
|
+
|
319
|
+
Args:
|
320
|
+
value: The numeric value to set
|
321
|
+
|
322
|
+
Returns:
|
323
|
+
AngularMomentumSetter: A setter with unit properties like .meters, .inches, etc.
|
324
|
+
|
325
|
+
Example:
|
326
|
+
>>> length = Length("beam_length")
|
327
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
328
|
+
"""
|
329
|
+
...
|
330
|
+
|
331
|
+
|
332
|
+
class Area(TypedQuantity):
|
333
|
+
"""
|
334
|
+
Type-safe area quantity with expression capabilities.
|
335
|
+
|
336
|
+
Constructor Options:
|
337
|
+
-------------------
|
338
|
+
- Area("variable_name") -> Create unknown area
|
339
|
+
- Area(value, "unit", "variable_name") -> Create known area
|
340
|
+
|
341
|
+
Examples:
|
342
|
+
---------
|
343
|
+
>>> unknown = Area("pressure") # Unknown area
|
344
|
+
>>> known = Area(100, "acre_general", "inlet_pressure") # Known area
|
345
|
+
|
346
|
+
Available units: "acre_general", "are", "arpent_quebec"
|
347
|
+
"""
|
348
|
+
__slots__ = ()
|
349
|
+
_setter_class = ts.AreaSetter
|
350
|
+
_expected_dimension = dim.AREA
|
351
|
+
|
352
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
353
|
+
|
354
|
+
def set(self, value: int | float) -> ts.AreaSetter:
|
355
|
+
"""
|
356
|
+
Create a setter for this area quantity.
|
357
|
+
|
358
|
+
Args:
|
359
|
+
value: The numeric value to set
|
360
|
+
|
361
|
+
Returns:
|
362
|
+
AreaSetter: A setter with unit properties like .meters, .inches, etc.
|
363
|
+
|
364
|
+
Example:
|
365
|
+
>>> length = Length("beam_length")
|
366
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
367
|
+
"""
|
368
|
+
...
|
369
|
+
|
370
|
+
|
371
|
+
class AreaPerUnitVolume(TypedQuantity):
|
372
|
+
"""
|
373
|
+
Type-safe area per unit volume quantity with expression capabilities.
|
374
|
+
|
375
|
+
Constructor Options:
|
376
|
+
-------------------
|
377
|
+
- AreaPerUnitVolume("variable_name") -> Create unknown area per unit volume
|
378
|
+
- AreaPerUnitVolume(value, "unit", "variable_name") -> Create known area per unit volume
|
379
|
+
|
380
|
+
Examples:
|
381
|
+
---------
|
382
|
+
>>> unknown = AreaPerUnitVolume("pressure") # Unknown area per unit volume
|
383
|
+
>>> known = AreaPerUnitVolume(100, "square_centimeter_per_cubic_centimeter", "inlet_pressure") # Known area per unit volume
|
384
|
+
|
385
|
+
Available units: "square_centimeter_per_cubic_centimeter", "square_foot_per_cubic_foot", "square_inch_per_cubic_inch"
|
386
|
+
"""
|
387
|
+
__slots__ = ()
|
388
|
+
_setter_class = ts.AreaPerUnitVolumeSetter
|
389
|
+
_expected_dimension = dim.AREA_PER_UNIT_VOLUME
|
390
|
+
|
391
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
392
|
+
|
393
|
+
def set(self, value: int | float) -> ts.AreaPerUnitVolumeSetter:
|
394
|
+
"""
|
395
|
+
Create a setter for this area per unit volume quantity.
|
396
|
+
|
397
|
+
Args:
|
398
|
+
value: The numeric value to set
|
399
|
+
|
400
|
+
Returns:
|
401
|
+
AreaPerUnitVolumeSetter: A setter with unit properties like .meters, .inches, etc.
|
402
|
+
|
403
|
+
Example:
|
404
|
+
>>> length = Length("beam_length")
|
405
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
406
|
+
"""
|
407
|
+
...
|
408
|
+
|
409
|
+
|
410
|
+
class AtomicWeight(TypedQuantity):
|
411
|
+
"""
|
412
|
+
Type-safe atomic weight quantity with expression capabilities.
|
413
|
+
|
414
|
+
Constructor Options:
|
415
|
+
-------------------
|
416
|
+
- AtomicWeight("variable_name") -> Create unknown atomic weight
|
417
|
+
- AtomicWeight(value, "unit", "variable_name") -> Create known atomic weight
|
418
|
+
|
419
|
+
Examples:
|
420
|
+
---------
|
421
|
+
>>> unknown = AtomicWeight("pressure") # Unknown atomic weight
|
422
|
+
>>> known = AtomicWeight(100, "atomic_mass_unit_12c", "inlet_pressure") # Known atomic weight
|
423
|
+
|
424
|
+
Available units: "atomic_mass_unit_12c", "grams_per_mole", "kilograms_per_kilomole"
|
425
|
+
"""
|
426
|
+
__slots__ = ()
|
427
|
+
_setter_class = ts.AtomicWeightSetter
|
428
|
+
_expected_dimension = dim.ATOMIC_WEIGHT
|
429
|
+
|
430
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
431
|
+
|
432
|
+
def set(self, value: int | float) -> ts.AtomicWeightSetter:
|
433
|
+
"""
|
434
|
+
Create a setter for this atomic weight quantity.
|
435
|
+
|
436
|
+
Args:
|
437
|
+
value: The numeric value to set
|
438
|
+
|
439
|
+
Returns:
|
440
|
+
AtomicWeightSetter: A setter with unit properties like .meters, .inches, etc.
|
441
|
+
|
442
|
+
Example:
|
443
|
+
>>> length = Length("beam_length")
|
444
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
445
|
+
"""
|
446
|
+
...
|
447
|
+
|
448
|
+
|
449
|
+
class Concentration(TypedQuantity):
|
450
|
+
"""
|
451
|
+
Type-safe concentration quantity with expression capabilities.
|
452
|
+
|
453
|
+
Constructor Options:
|
454
|
+
-------------------
|
455
|
+
- Concentration("variable_name") -> Create unknown concentration
|
456
|
+
- Concentration(value, "unit", "variable_name") -> Create known concentration
|
457
|
+
|
458
|
+
Examples:
|
459
|
+
---------
|
460
|
+
>>> unknown = Concentration("pressure") # Unknown concentration
|
461
|
+
>>> known = Concentration(100, "grains_of_i_per_cubic_foot", "inlet_pressure") # Known concentration
|
462
|
+
|
463
|
+
Available units: "grains_of_i_per_cubic_foot", "grains_of_i_per_gallon_us"
|
464
|
+
"""
|
465
|
+
__slots__ = ()
|
466
|
+
_setter_class = ts.ConcentrationSetter
|
467
|
+
_expected_dimension = dim.CONCENTRATION
|
468
|
+
|
469
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
470
|
+
|
471
|
+
def set(self, value: int | float) -> ts.ConcentrationSetter:
|
472
|
+
"""
|
473
|
+
Create a setter for this concentration quantity.
|
474
|
+
|
475
|
+
Args:
|
476
|
+
value: The numeric value to set
|
477
|
+
|
478
|
+
Returns:
|
479
|
+
ConcentrationSetter: A setter with unit properties like .meters, .inches, etc.
|
480
|
+
|
481
|
+
Example:
|
482
|
+
>>> length = Length("beam_length")
|
483
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
484
|
+
"""
|
485
|
+
...
|
486
|
+
|
487
|
+
|
488
|
+
class Dimensionless(TypedQuantity):
|
489
|
+
"""
|
490
|
+
Type-safe dimensionless quantity with expression capabilities.
|
491
|
+
|
492
|
+
Constructor Options:
|
493
|
+
-------------------
|
494
|
+
- Dimensionless("variable_name") -> Create unknown dimensionless
|
495
|
+
- Dimensionless(value, "variable_name") -> Create known dimensionless
|
496
|
+
|
497
|
+
Examples:
|
498
|
+
---------
|
499
|
+
>>> unknown = Dimensionless("efficiency") # Unknown dimensionless
|
500
|
+
>>> known = Dimensionless(0.85, "thermal_efficiency") # Known dimensionless
|
501
|
+
"""
|
502
|
+
__slots__ = ()
|
503
|
+
_setter_class = ts.DimensionlessSetter
|
504
|
+
_expected_dimension = dim.DIMENSIONLESS
|
505
|
+
|
506
|
+
def __init__(self, name_or_value: str | int | float, name: str | None = None, is_known: bool = True): ...
|
507
|
+
|
508
|
+
def set(self, value: int | float) -> ts.DimensionlessSetter:
|
509
|
+
"""
|
510
|
+
Create a setter for this dimensionless quantity.
|
511
|
+
|
512
|
+
Args:
|
513
|
+
value: The numeric value to set
|
514
|
+
|
515
|
+
Returns:
|
516
|
+
DimensionlessSetter: A setter with unit properties like .meters, .inches, etc.
|
517
|
+
|
518
|
+
Example:
|
519
|
+
>>> length = Length("beam_length")
|
520
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
521
|
+
"""
|
522
|
+
...
|
523
|
+
|
524
|
+
|
525
|
+
class DynamicFluidity(TypedQuantity):
|
526
|
+
"""
|
527
|
+
Type-safe dynamic fluidity quantity with expression capabilities.
|
528
|
+
|
529
|
+
Constructor Options:
|
530
|
+
-------------------
|
531
|
+
- DynamicFluidity("variable_name") -> Create unknown dynamic fluidity
|
532
|
+
- DynamicFluidity(value, "unit", "variable_name") -> Create known dynamic fluidity
|
533
|
+
|
534
|
+
Examples:
|
535
|
+
---------
|
536
|
+
>>> unknown = DynamicFluidity("pressure") # Unknown dynamic fluidity
|
537
|
+
>>> known = DynamicFluidity(100, "meter_seconds_per_kilogram", "inlet_pressure") # Known dynamic fluidity
|
538
|
+
|
539
|
+
Available units: "meter_seconds_per_kilogram", "rhe", "square_foot_per_pound_second"
|
540
|
+
"""
|
541
|
+
__slots__ = ()
|
542
|
+
_setter_class = ts.DynamicFluiditySetter
|
543
|
+
_expected_dimension = dim.DYNAMIC_FLUIDITY
|
544
|
+
|
545
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
546
|
+
|
547
|
+
def set(self, value: int | float) -> ts.DynamicFluiditySetter:
|
548
|
+
"""
|
549
|
+
Create a setter for this dynamic fluidity quantity.
|
550
|
+
|
551
|
+
Args:
|
552
|
+
value: The numeric value to set
|
553
|
+
|
554
|
+
Returns:
|
555
|
+
DynamicFluiditySetter: A setter with unit properties like .meters, .inches, etc.
|
556
|
+
|
557
|
+
Example:
|
558
|
+
>>> length = Length("beam_length")
|
559
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
560
|
+
"""
|
561
|
+
...
|
562
|
+
|
563
|
+
|
564
|
+
class ElectricCapacitance(TypedQuantity):
|
565
|
+
"""
|
566
|
+
Type-safe electric capacitance quantity with expression capabilities.
|
567
|
+
|
568
|
+
Constructor Options:
|
569
|
+
-------------------
|
570
|
+
- ElectricCapacitance("variable_name") -> Create unknown electric capacitance
|
571
|
+
- ElectricCapacitance(value, "unit", "variable_name") -> Create known electric capacitance
|
572
|
+
|
573
|
+
Examples:
|
574
|
+
---------
|
575
|
+
>>> unknown = ElectricCapacitance("pressure") # Unknown electric capacitance
|
576
|
+
>>> known = ElectricCapacitance(100, "cm", "inlet_pressure") # Known electric capacitance
|
577
|
+
|
578
|
+
Available units: "cm", "abfarad", "farad"
|
579
|
+
"""
|
580
|
+
__slots__ = ()
|
581
|
+
_setter_class = ts.ElectricCapacitanceSetter
|
582
|
+
_expected_dimension = dim.ELECTRIC_CAPACITANCE
|
583
|
+
|
584
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
585
|
+
|
586
|
+
def set(self, value: int | float) -> ts.ElectricCapacitanceSetter:
|
587
|
+
"""
|
588
|
+
Create a setter for this electric capacitance quantity.
|
589
|
+
|
590
|
+
Args:
|
591
|
+
value: The numeric value to set
|
592
|
+
|
593
|
+
Returns:
|
594
|
+
ElectricCapacitanceSetter: A setter with unit properties like .meters, .inches, etc.
|
595
|
+
|
596
|
+
Example:
|
597
|
+
>>> length = Length("beam_length")
|
598
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
599
|
+
"""
|
600
|
+
...
|
601
|
+
|
602
|
+
|
603
|
+
class ElectricCharge(TypedQuantity):
|
604
|
+
"""
|
605
|
+
Type-safe electric charge quantity with expression capabilities.
|
606
|
+
|
607
|
+
Constructor Options:
|
608
|
+
-------------------
|
609
|
+
- ElectricCharge("variable_name") -> Create unknown electric charge
|
610
|
+
- ElectricCharge(value, "unit", "variable_name") -> Create known electric charge
|
611
|
+
|
612
|
+
Examples:
|
613
|
+
---------
|
614
|
+
>>> unknown = ElectricCharge("pressure") # Unknown electric charge
|
615
|
+
>>> known = ElectricCharge(100, "abcoulomb", "inlet_pressure") # Known electric charge
|
616
|
+
|
617
|
+
Available units: "abcoulomb", "ampere_hour", "coulomb"
|
618
|
+
"""
|
619
|
+
__slots__ = ()
|
620
|
+
_setter_class = ts.ElectricChargeSetter
|
621
|
+
_expected_dimension = dim.ELECTRIC_CHARGE
|
622
|
+
|
623
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
624
|
+
|
625
|
+
def set(self, value: int | float) -> ts.ElectricChargeSetter:
|
626
|
+
"""
|
627
|
+
Create a setter for this electric charge quantity.
|
628
|
+
|
629
|
+
Args:
|
630
|
+
value: The numeric value to set
|
631
|
+
|
632
|
+
Returns:
|
633
|
+
ElectricChargeSetter: A setter with unit properties like .meters, .inches, etc.
|
634
|
+
|
635
|
+
Example:
|
636
|
+
>>> length = Length("beam_length")
|
637
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
638
|
+
"""
|
639
|
+
...
|
640
|
+
|
641
|
+
|
642
|
+
class ElectricCurrentIntensity(TypedQuantity):
|
643
|
+
"""
|
644
|
+
Type-safe electric current intensity quantity with expression capabilities.
|
645
|
+
|
646
|
+
Constructor Options:
|
647
|
+
-------------------
|
648
|
+
- ElectricCurrentIntensity("variable_name") -> Create unknown electric current intensity
|
649
|
+
- ElectricCurrentIntensity(value, "unit", "variable_name") -> Create known electric current intensity
|
650
|
+
|
651
|
+
Examples:
|
652
|
+
---------
|
653
|
+
>>> unknown = ElectricCurrentIntensity("pressure") # Unknown electric current intensity
|
654
|
+
>>> known = ElectricCurrentIntensity(100, "abampere", "inlet_pressure") # Known electric current intensity
|
655
|
+
|
656
|
+
Available units: "abampere", "ampere_intl_mean", "ampere_intl_us"
|
657
|
+
"""
|
658
|
+
__slots__ = ()
|
659
|
+
_setter_class = ts.ElectricCurrentIntensitySetter
|
660
|
+
_expected_dimension = dim.ELECTRIC_CURRENT_INTENSITY
|
661
|
+
|
662
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
663
|
+
|
664
|
+
def set(self, value: int | float) -> ts.ElectricCurrentIntensitySetter:
|
665
|
+
"""
|
666
|
+
Create a setter for this electric current intensity quantity.
|
667
|
+
|
668
|
+
Args:
|
669
|
+
value: The numeric value to set
|
670
|
+
|
671
|
+
Returns:
|
672
|
+
ElectricCurrentIntensitySetter: A setter with unit properties like .meters, .inches, etc.
|
673
|
+
|
674
|
+
Example:
|
675
|
+
>>> length = Length("beam_length")
|
676
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
677
|
+
"""
|
678
|
+
...
|
679
|
+
|
680
|
+
|
681
|
+
class ElectricDipoleMoment(TypedQuantity):
|
682
|
+
"""
|
683
|
+
Type-safe electric dipole moment quantity with expression capabilities.
|
684
|
+
|
685
|
+
Constructor Options:
|
686
|
+
-------------------
|
687
|
+
- ElectricDipoleMoment("variable_name") -> Create unknown electric dipole moment
|
688
|
+
- ElectricDipoleMoment(value, "unit", "variable_name") -> Create known electric dipole moment
|
689
|
+
|
690
|
+
Examples:
|
691
|
+
---------
|
692
|
+
>>> unknown = ElectricDipoleMoment("pressure") # Unknown electric dipole moment
|
693
|
+
>>> known = ElectricDipoleMoment(100, "ampere_meter_second", "inlet_pressure") # Known electric dipole moment
|
694
|
+
|
695
|
+
Available units: "ampere_meter_second", "coulomb_meter", "debye"
|
696
|
+
"""
|
697
|
+
__slots__ = ()
|
698
|
+
_setter_class = ts.ElectricDipoleMomentSetter
|
699
|
+
_expected_dimension = dim.ELECTRIC_DIPOLE_MOMENT
|
700
|
+
|
701
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
702
|
+
|
703
|
+
def set(self, value: int | float) -> ts.ElectricDipoleMomentSetter:
|
704
|
+
"""
|
705
|
+
Create a setter for this electric dipole moment quantity.
|
706
|
+
|
707
|
+
Args:
|
708
|
+
value: The numeric value to set
|
709
|
+
|
710
|
+
Returns:
|
711
|
+
ElectricDipoleMomentSetter: A setter with unit properties like .meters, .inches, etc.
|
712
|
+
|
713
|
+
Example:
|
714
|
+
>>> length = Length("beam_length")
|
715
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
716
|
+
"""
|
717
|
+
...
|
718
|
+
|
719
|
+
|
720
|
+
class ElectricFieldStrength(TypedQuantity):
|
721
|
+
"""
|
722
|
+
Type-safe electric field strength quantity with expression capabilities.
|
723
|
+
|
724
|
+
Constructor Options:
|
725
|
+
-------------------
|
726
|
+
- ElectricFieldStrength("variable_name") -> Create unknown electric field strength
|
727
|
+
- ElectricFieldStrength(value, "unit", "variable_name") -> Create known electric field strength
|
728
|
+
|
729
|
+
Examples:
|
730
|
+
---------
|
731
|
+
>>> unknown = ElectricFieldStrength("pressure") # Unknown electric field strength
|
732
|
+
>>> known = ElectricFieldStrength(100, "volt_per_centimeter", "inlet_pressure") # Known electric field strength
|
733
|
+
|
734
|
+
Available units: "volt_per_centimeter", "volt_per_meter"
|
735
|
+
"""
|
736
|
+
__slots__ = ()
|
737
|
+
_setter_class = ts.ElectricFieldStrengthSetter
|
738
|
+
_expected_dimension = dim.ELECTRIC_FIELD_STRENGTH
|
739
|
+
|
740
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
741
|
+
|
742
|
+
def set(self, value: int | float) -> ts.ElectricFieldStrengthSetter:
|
743
|
+
"""
|
744
|
+
Create a setter for this electric field strength quantity.
|
745
|
+
|
746
|
+
Args:
|
747
|
+
value: The numeric value to set
|
748
|
+
|
749
|
+
Returns:
|
750
|
+
ElectricFieldStrengthSetter: A setter with unit properties like .meters, .inches, etc.
|
751
|
+
|
752
|
+
Example:
|
753
|
+
>>> length = Length("beam_length")
|
754
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
755
|
+
"""
|
756
|
+
...
|
757
|
+
|
758
|
+
|
759
|
+
class ElectricInductance(TypedQuantity):
|
760
|
+
"""
|
761
|
+
Type-safe electric inductance quantity with expression capabilities.
|
762
|
+
|
763
|
+
Constructor Options:
|
764
|
+
-------------------
|
765
|
+
- ElectricInductance("variable_name") -> Create unknown electric inductance
|
766
|
+
- ElectricInductance(value, "unit", "variable_name") -> Create known electric inductance
|
767
|
+
|
768
|
+
Examples:
|
769
|
+
---------
|
770
|
+
>>> unknown = ElectricInductance("pressure") # Unknown electric inductance
|
771
|
+
>>> known = ElectricInductance(100, "abhenry", "inlet_pressure") # Known electric inductance
|
772
|
+
|
773
|
+
Available units: "abhenry", "cm", "henry"
|
774
|
+
"""
|
775
|
+
__slots__ = ()
|
776
|
+
_setter_class = ts.ElectricInductanceSetter
|
777
|
+
_expected_dimension = dim.ELECTRIC_INDUCTANCE
|
778
|
+
|
779
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
780
|
+
|
781
|
+
def set(self, value: int | float) -> ts.ElectricInductanceSetter:
|
782
|
+
"""
|
783
|
+
Create a setter for this electric inductance quantity.
|
784
|
+
|
785
|
+
Args:
|
786
|
+
value: The numeric value to set
|
787
|
+
|
788
|
+
Returns:
|
789
|
+
ElectricInductanceSetter: A setter with unit properties like .meters, .inches, etc.
|
790
|
+
|
791
|
+
Example:
|
792
|
+
>>> length = Length("beam_length")
|
793
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
794
|
+
"""
|
795
|
+
...
|
796
|
+
|
797
|
+
|
798
|
+
class ElectricPotential(TypedQuantity):
|
799
|
+
"""
|
800
|
+
Type-safe electric potential quantity with expression capabilities.
|
801
|
+
|
802
|
+
Constructor Options:
|
803
|
+
-------------------
|
804
|
+
- ElectricPotential("variable_name") -> Create unknown electric potential
|
805
|
+
- ElectricPotential(value, "unit", "variable_name") -> Create known electric potential
|
806
|
+
|
807
|
+
Examples:
|
808
|
+
---------
|
809
|
+
>>> unknown = ElectricPotential("pressure") # Unknown electric potential
|
810
|
+
>>> known = ElectricPotential(100, "abvolt", "inlet_pressure") # Known electric potential
|
811
|
+
|
812
|
+
Available units: "abvolt", "statvolt", "u_a_potential"
|
813
|
+
"""
|
814
|
+
__slots__ = ()
|
815
|
+
_setter_class = ts.ElectricPotentialSetter
|
816
|
+
_expected_dimension = dim.ELECTRIC_POTENTIAL
|
817
|
+
|
818
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
819
|
+
|
820
|
+
def set(self, value: int | float) -> ts.ElectricPotentialSetter:
|
821
|
+
"""
|
822
|
+
Create a setter for this electric potential quantity.
|
823
|
+
|
824
|
+
Args:
|
825
|
+
value: The numeric value to set
|
826
|
+
|
827
|
+
Returns:
|
828
|
+
ElectricPotentialSetter: A setter with unit properties like .meters, .inches, etc.
|
829
|
+
|
830
|
+
Example:
|
831
|
+
>>> length = Length("beam_length")
|
832
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
833
|
+
"""
|
834
|
+
...
|
835
|
+
|
836
|
+
|
837
|
+
class ElectricResistance(TypedQuantity):
|
838
|
+
"""
|
839
|
+
Type-safe electric resistance quantity with expression capabilities.
|
840
|
+
|
841
|
+
Constructor Options:
|
842
|
+
-------------------
|
843
|
+
- ElectricResistance("variable_name") -> Create unknown electric resistance
|
844
|
+
- ElectricResistance(value, "unit", "variable_name") -> Create known electric resistance
|
845
|
+
|
846
|
+
Examples:
|
847
|
+
---------
|
848
|
+
>>> unknown = ElectricResistance("pressure") # Unknown electric resistance
|
849
|
+
>>> known = ElectricResistance(100, "abohm", "inlet_pressure") # Known electric resistance
|
850
|
+
|
851
|
+
Available units: "abohm", "jacobi", "lenz"
|
852
|
+
"""
|
853
|
+
__slots__ = ()
|
854
|
+
_setter_class = ts.ElectricResistanceSetter
|
855
|
+
_expected_dimension = dim.ELECTRIC_RESISTANCE
|
856
|
+
|
857
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
858
|
+
|
859
|
+
def set(self, value: int | float) -> ts.ElectricResistanceSetter:
|
860
|
+
"""
|
861
|
+
Create a setter for this electric resistance quantity.
|
862
|
+
|
863
|
+
Args:
|
864
|
+
value: The numeric value to set
|
865
|
+
|
866
|
+
Returns:
|
867
|
+
ElectricResistanceSetter: A setter with unit properties like .meters, .inches, etc.
|
868
|
+
|
869
|
+
Example:
|
870
|
+
>>> length = Length("beam_length")
|
871
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
872
|
+
"""
|
873
|
+
...
|
874
|
+
|
875
|
+
|
876
|
+
class ElectricalConductance(TypedQuantity):
|
877
|
+
"""
|
878
|
+
Type-safe electrical conductance quantity with expression capabilities.
|
879
|
+
|
880
|
+
Constructor Options:
|
881
|
+
-------------------
|
882
|
+
- ElectricalConductance("variable_name") -> Create unknown electrical conductance
|
883
|
+
- ElectricalConductance(value, "unit", "variable_name") -> Create known electrical conductance
|
884
|
+
|
885
|
+
Examples:
|
886
|
+
---------
|
887
|
+
>>> unknown = ElectricalConductance("pressure") # Unknown electrical conductance
|
888
|
+
>>> known = ElectricalConductance(100, "emu_cgs", "inlet_pressure") # Known electrical conductance
|
889
|
+
|
890
|
+
Available units: "emu_cgs", "esu_cgs", "mho"
|
891
|
+
"""
|
892
|
+
__slots__ = ()
|
893
|
+
_setter_class = ts.ElectricalConductanceSetter
|
894
|
+
_expected_dimension = dim.ELECTRICAL_CONDUCTANCE
|
895
|
+
|
896
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
897
|
+
|
898
|
+
def set(self, value: int | float) -> ts.ElectricalConductanceSetter:
|
899
|
+
"""
|
900
|
+
Create a setter for this electrical conductance quantity.
|
901
|
+
|
902
|
+
Args:
|
903
|
+
value: The numeric value to set
|
904
|
+
|
905
|
+
Returns:
|
906
|
+
ElectricalConductanceSetter: A setter with unit properties like .meters, .inches, etc.
|
907
|
+
|
908
|
+
Example:
|
909
|
+
>>> length = Length("beam_length")
|
910
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
911
|
+
"""
|
912
|
+
...
|
913
|
+
|
914
|
+
|
915
|
+
class ElectricalPermittivity(TypedQuantity):
|
916
|
+
"""
|
917
|
+
Type-safe electrical permittivity quantity with expression capabilities.
|
918
|
+
|
919
|
+
Constructor Options:
|
920
|
+
-------------------
|
921
|
+
- ElectricalPermittivity("variable_name") -> Create unknown electrical permittivity
|
922
|
+
- ElectricalPermittivity(value, "unit", "variable_name") -> Create known electrical permittivity
|
923
|
+
|
924
|
+
Examples:
|
925
|
+
---------
|
926
|
+
>>> unknown = ElectricalPermittivity("pressure") # Unknown electrical permittivity
|
927
|
+
>>> known = ElectricalPermittivity(100, "farad_per_meter", "inlet_pressure") # Known electrical permittivity
|
928
|
+
|
929
|
+
Available units: "farad_per_meter"
|
930
|
+
"""
|
931
|
+
__slots__ = ()
|
932
|
+
_setter_class = ts.ElectricalPermittivitySetter
|
933
|
+
_expected_dimension = dim.ELECTRICAL_PERMITTIVITY
|
934
|
+
|
935
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
936
|
+
|
937
|
+
def set(self, value: int | float) -> ts.ElectricalPermittivitySetter:
|
938
|
+
"""
|
939
|
+
Create a setter for this electrical permittivity quantity.
|
940
|
+
|
941
|
+
Args:
|
942
|
+
value: The numeric value to set
|
943
|
+
|
944
|
+
Returns:
|
945
|
+
ElectricalPermittivitySetter: A setter with unit properties like .meters, .inches, etc.
|
946
|
+
|
947
|
+
Example:
|
948
|
+
>>> length = Length("beam_length")
|
949
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
950
|
+
"""
|
951
|
+
...
|
952
|
+
|
953
|
+
|
954
|
+
class ElectricalResistivity(TypedQuantity):
|
955
|
+
"""
|
956
|
+
Type-safe electrical resistivity quantity with expression capabilities.
|
957
|
+
|
958
|
+
Constructor Options:
|
959
|
+
-------------------
|
960
|
+
- ElectricalResistivity("variable_name") -> Create unknown electrical resistivity
|
961
|
+
- ElectricalResistivity(value, "unit", "variable_name") -> Create known electrical resistivity
|
962
|
+
|
963
|
+
Examples:
|
964
|
+
---------
|
965
|
+
>>> unknown = ElectricalResistivity("pressure") # Unknown electrical resistivity
|
966
|
+
>>> known = ElectricalResistivity(100, "circular_mil_ohm_per_foot", "inlet_pressure") # Known electrical resistivity
|
967
|
+
|
968
|
+
Available units: "circular_mil_ohm_per_foot", "emu_cgs", "microhm_inch"
|
969
|
+
"""
|
970
|
+
__slots__ = ()
|
971
|
+
_setter_class = ts.ElectricalResistivitySetter
|
972
|
+
_expected_dimension = dim.ELECTRICAL_RESISTIVITY
|
973
|
+
|
974
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
975
|
+
|
976
|
+
def set(self, value: int | float) -> ts.ElectricalResistivitySetter:
|
977
|
+
"""
|
978
|
+
Create a setter for this electrical resistivity quantity.
|
979
|
+
|
980
|
+
Args:
|
981
|
+
value: The numeric value to set
|
982
|
+
|
983
|
+
Returns:
|
984
|
+
ElectricalResistivitySetter: A setter with unit properties like .meters, .inches, etc.
|
985
|
+
|
986
|
+
Example:
|
987
|
+
>>> length = Length("beam_length")
|
988
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
989
|
+
"""
|
990
|
+
...
|
991
|
+
|
992
|
+
|
993
|
+
class EnergyFlux(TypedQuantity):
|
994
|
+
"""
|
995
|
+
Type-safe energy flux quantity with expression capabilities.
|
996
|
+
|
997
|
+
Constructor Options:
|
998
|
+
-------------------
|
999
|
+
- EnergyFlux("variable_name") -> Create unknown energy flux
|
1000
|
+
- EnergyFlux(value, "unit", "variable_name") -> Create known energy flux
|
1001
|
+
|
1002
|
+
Examples:
|
1003
|
+
---------
|
1004
|
+
>>> unknown = EnergyFlux("pressure") # Unknown energy flux
|
1005
|
+
>>> known = EnergyFlux(100, "btu_per_square_foot_per_hour", "inlet_pressure") # Known energy flux
|
1006
|
+
|
1007
|
+
Available units: "btu_per_square_foot_per_hour", "calorie_per_square_centimeter_per_second", "celsius_heat_units_chu"
|
1008
|
+
"""
|
1009
|
+
__slots__ = ()
|
1010
|
+
_setter_class = ts.EnergyFluxSetter
|
1011
|
+
_expected_dimension = dim.ENERGY_FLUX
|
1012
|
+
|
1013
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1014
|
+
|
1015
|
+
def set(self, value: int | float) -> ts.EnergyFluxSetter:
|
1016
|
+
"""
|
1017
|
+
Create a setter for this energy flux quantity.
|
1018
|
+
|
1019
|
+
Args:
|
1020
|
+
value: The numeric value to set
|
1021
|
+
|
1022
|
+
Returns:
|
1023
|
+
EnergyFluxSetter: A setter with unit properties like .meters, .inches, etc.
|
1024
|
+
|
1025
|
+
Example:
|
1026
|
+
>>> length = Length("beam_length")
|
1027
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1028
|
+
"""
|
1029
|
+
...
|
1030
|
+
|
1031
|
+
|
1032
|
+
class EnergyHeatWork(TypedQuantity):
|
1033
|
+
"""
|
1034
|
+
Type-safe energy, heat, work quantity with expression capabilities.
|
1035
|
+
|
1036
|
+
Constructor Options:
|
1037
|
+
-------------------
|
1038
|
+
- EnergyHeatWork("variable_name") -> Create unknown energy, heat, work
|
1039
|
+
- EnergyHeatWork(value, "unit", "variable_name") -> Create known energy, heat, work
|
1040
|
+
|
1041
|
+
Examples:
|
1042
|
+
---------
|
1043
|
+
>>> unknown = EnergyHeatWork("pressure") # Unknown energy, heat, work
|
1044
|
+
>>> known = EnergyHeatWork(100, "barrel_oil_equivalent_or_equivalent_barrel", "inlet_pressure") # Known energy, heat, work
|
1045
|
+
|
1046
|
+
Available units: "barrel_oil_equivalent_or_equivalent_barrel", "billion_electronvolt", "british_thermal_unit_4circ_mathrmc"
|
1047
|
+
"""
|
1048
|
+
__slots__ = ()
|
1049
|
+
_setter_class = ts.EnergyHeatWorkSetter
|
1050
|
+
_expected_dimension = dim.ENERGY_HEAT_WORK
|
1051
|
+
|
1052
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1053
|
+
|
1054
|
+
def set(self, value: int | float) -> ts.EnergyHeatWorkSetter:
|
1055
|
+
"""
|
1056
|
+
Create a setter for this energy, heat, work quantity.
|
1057
|
+
|
1058
|
+
Args:
|
1059
|
+
value: The numeric value to set
|
1060
|
+
|
1061
|
+
Returns:
|
1062
|
+
EnergyHeatWorkSetter: A setter with unit properties like .meters, .inches, etc.
|
1063
|
+
|
1064
|
+
Example:
|
1065
|
+
>>> length = Length("beam_length")
|
1066
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1067
|
+
"""
|
1068
|
+
...
|
1069
|
+
|
1070
|
+
|
1071
|
+
class EnergyPerUnitArea(TypedQuantity):
|
1072
|
+
"""
|
1073
|
+
Type-safe energy per unit area quantity with expression capabilities.
|
1074
|
+
|
1075
|
+
Constructor Options:
|
1076
|
+
-------------------
|
1077
|
+
- EnergyPerUnitArea("variable_name") -> Create unknown energy per unit area
|
1078
|
+
- EnergyPerUnitArea(value, "unit", "variable_name") -> Create known energy per unit area
|
1079
|
+
|
1080
|
+
Examples:
|
1081
|
+
---------
|
1082
|
+
>>> unknown = EnergyPerUnitArea("pressure") # Unknown energy per unit area
|
1083
|
+
>>> known = EnergyPerUnitArea(100, "british_thermal_unit_per_square_foot", "inlet_pressure") # Known energy per unit area
|
1084
|
+
|
1085
|
+
Available units: "british_thermal_unit_per_square_foot", "joule_per_square_meter", "langley"
|
1086
|
+
"""
|
1087
|
+
__slots__ = ()
|
1088
|
+
_setter_class = ts.EnergyPerUnitAreaSetter
|
1089
|
+
_expected_dimension = dim.ENERGY_PER_UNIT_AREA
|
1090
|
+
|
1091
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1092
|
+
|
1093
|
+
def set(self, value: int | float) -> ts.EnergyPerUnitAreaSetter:
|
1094
|
+
"""
|
1095
|
+
Create a setter for this energy per unit area quantity.
|
1096
|
+
|
1097
|
+
Args:
|
1098
|
+
value: The numeric value to set
|
1099
|
+
|
1100
|
+
Returns:
|
1101
|
+
EnergyPerUnitAreaSetter: A setter with unit properties like .meters, .inches, etc.
|
1102
|
+
|
1103
|
+
Example:
|
1104
|
+
>>> length = Length("beam_length")
|
1105
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1106
|
+
"""
|
1107
|
+
...
|
1108
|
+
|
1109
|
+
|
1110
|
+
class Force(TypedQuantity):
|
1111
|
+
"""
|
1112
|
+
Type-safe force quantity with expression capabilities.
|
1113
|
+
|
1114
|
+
Constructor Options:
|
1115
|
+
-------------------
|
1116
|
+
- Force("variable_name") -> Create unknown force
|
1117
|
+
- Force(value, "unit", "variable_name") -> Create known force
|
1118
|
+
|
1119
|
+
Examples:
|
1120
|
+
---------
|
1121
|
+
>>> unknown = Force("pressure") # Unknown force
|
1122
|
+
>>> known = Force(100, "crinal", "inlet_pressure") # Known force
|
1123
|
+
|
1124
|
+
Available units: "crinal", "dyne", "funal"
|
1125
|
+
"""
|
1126
|
+
__slots__ = ()
|
1127
|
+
_setter_class = ts.ForceSetter
|
1128
|
+
_expected_dimension = dim.FORCE
|
1129
|
+
|
1130
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1131
|
+
|
1132
|
+
def set(self, value: int | float) -> ts.ForceSetter:
|
1133
|
+
"""
|
1134
|
+
Create a setter for this force quantity.
|
1135
|
+
|
1136
|
+
Args:
|
1137
|
+
value: The numeric value to set
|
1138
|
+
|
1139
|
+
Returns:
|
1140
|
+
ForceSetter: A setter with unit properties like .meters, .inches, etc.
|
1141
|
+
|
1142
|
+
Example:
|
1143
|
+
>>> length = Length("beam_length")
|
1144
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1145
|
+
"""
|
1146
|
+
...
|
1147
|
+
|
1148
|
+
|
1149
|
+
class ForceBody(TypedQuantity):
|
1150
|
+
"""
|
1151
|
+
Type-safe force (body) quantity with expression capabilities.
|
1152
|
+
|
1153
|
+
Constructor Options:
|
1154
|
+
-------------------
|
1155
|
+
- ForceBody("variable_name") -> Create unknown force (body)
|
1156
|
+
- ForceBody(value, "unit", "variable_name") -> Create known force (body)
|
1157
|
+
|
1158
|
+
Examples:
|
1159
|
+
---------
|
1160
|
+
>>> unknown = ForceBody("pressure") # Unknown force (body)
|
1161
|
+
>>> known = ForceBody(100, "dyne_per_cubic_centimeter", "inlet_pressure") # Known force (body)
|
1162
|
+
|
1163
|
+
Available units: "dyne_per_cubic_centimeter", "kilogram_force_per_cubic_centimeter", "kilogram_force_per_cubic_meter"
|
1164
|
+
"""
|
1165
|
+
__slots__ = ()
|
1166
|
+
_setter_class = ts.ForceBodySetter
|
1167
|
+
_expected_dimension = dim.FORCE_BODY
|
1168
|
+
|
1169
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1170
|
+
|
1171
|
+
def set(self, value: int | float) -> ts.ForceBodySetter:
|
1172
|
+
"""
|
1173
|
+
Create a setter for this force (body) quantity.
|
1174
|
+
|
1175
|
+
Args:
|
1176
|
+
value: The numeric value to set
|
1177
|
+
|
1178
|
+
Returns:
|
1179
|
+
ForceBodySetter: A setter with unit properties like .meters, .inches, etc.
|
1180
|
+
|
1181
|
+
Example:
|
1182
|
+
>>> length = Length("beam_length")
|
1183
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1184
|
+
"""
|
1185
|
+
...
|
1186
|
+
|
1187
|
+
|
1188
|
+
class ForcePerUnitMass(TypedQuantity):
|
1189
|
+
"""
|
1190
|
+
Type-safe force per unit mass quantity with expression capabilities.
|
1191
|
+
|
1192
|
+
Constructor Options:
|
1193
|
+
-------------------
|
1194
|
+
- ForcePerUnitMass("variable_name") -> Create unknown force per unit mass
|
1195
|
+
- ForcePerUnitMass(value, "unit", "variable_name") -> Create known force per unit mass
|
1196
|
+
|
1197
|
+
Examples:
|
1198
|
+
---------
|
1199
|
+
>>> unknown = ForcePerUnitMass("pressure") # Unknown force per unit mass
|
1200
|
+
>>> known = ForcePerUnitMass(100, "dyne_per_gram", "inlet_pressure") # Known force per unit mass
|
1201
|
+
|
1202
|
+
Available units: "dyne_per_gram", "kilogram_force_per_kilogram", "newton_per_kilogram"
|
1203
|
+
"""
|
1204
|
+
__slots__ = ()
|
1205
|
+
_setter_class = ts.ForcePerUnitMassSetter
|
1206
|
+
_expected_dimension = dim.FORCE_PER_UNIT_MASS
|
1207
|
+
|
1208
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1209
|
+
|
1210
|
+
def set(self, value: int | float) -> ts.ForcePerUnitMassSetter:
|
1211
|
+
"""
|
1212
|
+
Create a setter for this force per unit mass quantity.
|
1213
|
+
|
1214
|
+
Args:
|
1215
|
+
value: The numeric value to set
|
1216
|
+
|
1217
|
+
Returns:
|
1218
|
+
ForcePerUnitMassSetter: A setter with unit properties like .meters, .inches, etc.
|
1219
|
+
|
1220
|
+
Example:
|
1221
|
+
>>> length = Length("beam_length")
|
1222
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1223
|
+
"""
|
1224
|
+
...
|
1225
|
+
|
1226
|
+
|
1227
|
+
class FrequencyVoltageRatio(TypedQuantity):
|
1228
|
+
"""
|
1229
|
+
Type-safe frequency voltage ratio quantity with expression capabilities.
|
1230
|
+
|
1231
|
+
Constructor Options:
|
1232
|
+
-------------------
|
1233
|
+
- FrequencyVoltageRatio("variable_name") -> Create unknown frequency voltage ratio
|
1234
|
+
- FrequencyVoltageRatio(value, "unit", "variable_name") -> Create known frequency voltage ratio
|
1235
|
+
|
1236
|
+
Examples:
|
1237
|
+
---------
|
1238
|
+
>>> unknown = FrequencyVoltageRatio("pressure") # Unknown frequency voltage ratio
|
1239
|
+
>>> known = FrequencyVoltageRatio(100, "cycles_per_second_per_volt", "inlet_pressure") # Known frequency voltage ratio
|
1240
|
+
|
1241
|
+
Available units: "cycles_per_second_per_volt", "hertz_per_volt", "terahertz_per_volt"
|
1242
|
+
"""
|
1243
|
+
__slots__ = ()
|
1244
|
+
_setter_class = ts.FrequencyVoltageRatioSetter
|
1245
|
+
_expected_dimension = dim.FREQUENCY_VOLTAGE_RATIO
|
1246
|
+
|
1247
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1248
|
+
|
1249
|
+
def set(self, value: int | float) -> ts.FrequencyVoltageRatioSetter:
|
1250
|
+
"""
|
1251
|
+
Create a setter for this frequency voltage ratio quantity.
|
1252
|
+
|
1253
|
+
Args:
|
1254
|
+
value: The numeric value to set
|
1255
|
+
|
1256
|
+
Returns:
|
1257
|
+
FrequencyVoltageRatioSetter: A setter with unit properties like .meters, .inches, etc.
|
1258
|
+
|
1259
|
+
Example:
|
1260
|
+
>>> length = Length("beam_length")
|
1261
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1262
|
+
"""
|
1263
|
+
...
|
1264
|
+
|
1265
|
+
|
1266
|
+
class FuelConsumption(TypedQuantity):
|
1267
|
+
"""
|
1268
|
+
Type-safe fuel consumption quantity with expression capabilities.
|
1269
|
+
|
1270
|
+
Constructor Options:
|
1271
|
+
-------------------
|
1272
|
+
- FuelConsumption("variable_name") -> Create unknown fuel consumption
|
1273
|
+
- FuelConsumption(value, "unit", "variable_name") -> Create known fuel consumption
|
1274
|
+
|
1275
|
+
Examples:
|
1276
|
+
---------
|
1277
|
+
>>> unknown = FuelConsumption("pressure") # Unknown fuel consumption
|
1278
|
+
>>> known = FuelConsumption(100, "unit_100_km_per_liter", "inlet_pressure") # Known fuel consumption
|
1279
|
+
|
1280
|
+
Available units: "unit_100_km_per_liter", "gallons_uk", "gallons_us"
|
1281
|
+
"""
|
1282
|
+
__slots__ = ()
|
1283
|
+
_setter_class = ts.FuelConsumptionSetter
|
1284
|
+
_expected_dimension = dim.FUEL_CONSUMPTION
|
1285
|
+
|
1286
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1287
|
+
|
1288
|
+
def set(self, value: int | float) -> ts.FuelConsumptionSetter:
|
1289
|
+
"""
|
1290
|
+
Create a setter for this fuel consumption quantity.
|
1291
|
+
|
1292
|
+
Args:
|
1293
|
+
value: The numeric value to set
|
1294
|
+
|
1295
|
+
Returns:
|
1296
|
+
FuelConsumptionSetter: A setter with unit properties like .meters, .inches, etc.
|
1297
|
+
|
1298
|
+
Example:
|
1299
|
+
>>> length = Length("beam_length")
|
1300
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1301
|
+
"""
|
1302
|
+
...
|
1303
|
+
|
1304
|
+
|
1305
|
+
class HeatOfCombustion(TypedQuantity):
|
1306
|
+
"""
|
1307
|
+
Type-safe heat of combustion quantity with expression capabilities.
|
1308
|
+
|
1309
|
+
Constructor Options:
|
1310
|
+
-------------------
|
1311
|
+
- HeatOfCombustion("variable_name") -> Create unknown heat of combustion
|
1312
|
+
- HeatOfCombustion(value, "unit", "variable_name") -> Create known heat of combustion
|
1313
|
+
|
1314
|
+
Examples:
|
1315
|
+
---------
|
1316
|
+
>>> unknown = HeatOfCombustion("pressure") # Unknown heat of combustion
|
1317
|
+
>>> known = HeatOfCombustion(100, "british_thermal_unit_per_pound", "inlet_pressure") # Known heat of combustion
|
1318
|
+
|
1319
|
+
Available units: "british_thermal_unit_per_pound", "calorie_per_gram", "chu_per_pound"
|
1320
|
+
"""
|
1321
|
+
__slots__ = ()
|
1322
|
+
_setter_class = ts.HeatOfCombustionSetter
|
1323
|
+
_expected_dimension = dim.HEAT_OF_COMBUSTION
|
1324
|
+
|
1325
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1326
|
+
|
1327
|
+
def set(self, value: int | float) -> ts.HeatOfCombustionSetter:
|
1328
|
+
"""
|
1329
|
+
Create a setter for this heat of combustion quantity.
|
1330
|
+
|
1331
|
+
Args:
|
1332
|
+
value: The numeric value to set
|
1333
|
+
|
1334
|
+
Returns:
|
1335
|
+
HeatOfCombustionSetter: A setter with unit properties like .meters, .inches, etc.
|
1336
|
+
|
1337
|
+
Example:
|
1338
|
+
>>> length = Length("beam_length")
|
1339
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1340
|
+
"""
|
1341
|
+
...
|
1342
|
+
|
1343
|
+
|
1344
|
+
class HeatOfFusion(TypedQuantity):
|
1345
|
+
"""
|
1346
|
+
Type-safe heat of fusion quantity with expression capabilities.
|
1347
|
+
|
1348
|
+
Constructor Options:
|
1349
|
+
-------------------
|
1350
|
+
- HeatOfFusion("variable_name") -> Create unknown heat of fusion
|
1351
|
+
- HeatOfFusion(value, "unit", "variable_name") -> Create known heat of fusion
|
1352
|
+
|
1353
|
+
Examples:
|
1354
|
+
---------
|
1355
|
+
>>> unknown = HeatOfFusion("pressure") # Unknown heat of fusion
|
1356
|
+
>>> known = HeatOfFusion(100, "british_thermal_unit_mean", "inlet_pressure") # Known heat of fusion
|
1357
|
+
|
1358
|
+
Available units: "british_thermal_unit_mean", "british_thermal_unit_per_pound", "calorie_per_gram"
|
1359
|
+
"""
|
1360
|
+
__slots__ = ()
|
1361
|
+
_setter_class = ts.HeatOfFusionSetter
|
1362
|
+
_expected_dimension = dim.HEAT_OF_FUSION
|
1363
|
+
|
1364
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1365
|
+
|
1366
|
+
def set(self, value: int | float) -> ts.HeatOfFusionSetter:
|
1367
|
+
"""
|
1368
|
+
Create a setter for this heat of fusion quantity.
|
1369
|
+
|
1370
|
+
Args:
|
1371
|
+
value: The numeric value to set
|
1372
|
+
|
1373
|
+
Returns:
|
1374
|
+
HeatOfFusionSetter: A setter with unit properties like .meters, .inches, etc.
|
1375
|
+
|
1376
|
+
Example:
|
1377
|
+
>>> length = Length("beam_length")
|
1378
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1379
|
+
"""
|
1380
|
+
...
|
1381
|
+
|
1382
|
+
|
1383
|
+
class HeatOfVaporization(TypedQuantity):
|
1384
|
+
"""
|
1385
|
+
Type-safe heat of vaporization quantity with expression capabilities.
|
1386
|
+
|
1387
|
+
Constructor Options:
|
1388
|
+
-------------------
|
1389
|
+
- HeatOfVaporization("variable_name") -> Create unknown heat of vaporization
|
1390
|
+
- HeatOfVaporization(value, "unit", "variable_name") -> Create known heat of vaporization
|
1391
|
+
|
1392
|
+
Examples:
|
1393
|
+
---------
|
1394
|
+
>>> unknown = HeatOfVaporization("pressure") # Unknown heat of vaporization
|
1395
|
+
>>> known = HeatOfVaporization(100, "british_thermal_unit_per_pound", "inlet_pressure") # Known heat of vaporization
|
1396
|
+
|
1397
|
+
Available units: "british_thermal_unit_per_pound", "calorie_per_gram", "chu_per_pound"
|
1398
|
+
"""
|
1399
|
+
__slots__ = ()
|
1400
|
+
_setter_class = ts.HeatOfVaporizationSetter
|
1401
|
+
_expected_dimension = dim.HEAT_OF_VAPORIZATION
|
1402
|
+
|
1403
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1404
|
+
|
1405
|
+
def set(self, value: int | float) -> ts.HeatOfVaporizationSetter:
|
1406
|
+
"""
|
1407
|
+
Create a setter for this heat of vaporization quantity.
|
1408
|
+
|
1409
|
+
Args:
|
1410
|
+
value: The numeric value to set
|
1411
|
+
|
1412
|
+
Returns:
|
1413
|
+
HeatOfVaporizationSetter: A setter with unit properties like .meters, .inches, etc.
|
1414
|
+
|
1415
|
+
Example:
|
1416
|
+
>>> length = Length("beam_length")
|
1417
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1418
|
+
"""
|
1419
|
+
...
|
1420
|
+
|
1421
|
+
|
1422
|
+
class HeatTransferCoefficient(TypedQuantity):
|
1423
|
+
"""
|
1424
|
+
Type-safe heat transfer coefficient quantity with expression capabilities.
|
1425
|
+
|
1426
|
+
Constructor Options:
|
1427
|
+
-------------------
|
1428
|
+
- HeatTransferCoefficient("variable_name") -> Create unknown heat transfer coefficient
|
1429
|
+
- HeatTransferCoefficient(value, "unit", "variable_name") -> Create known heat transfer coefficient
|
1430
|
+
|
1431
|
+
Examples:
|
1432
|
+
---------
|
1433
|
+
>>> unknown = HeatTransferCoefficient("pressure") # Unknown heat transfer coefficient
|
1434
|
+
>>> known = HeatTransferCoefficient(100, "btu_per_square_foot_per_hour_per_degree_fahrenheit_or_rankine", "inlet_pressure") # Known heat transfer coefficient
|
1435
|
+
|
1436
|
+
Available units: "btu_per_square_foot_per_hour_per_degree_fahrenheit_or_rankine", "watt_per_square_meter_per_degree_celsius_or_kelvin"
|
1437
|
+
"""
|
1438
|
+
__slots__ = ()
|
1439
|
+
_setter_class = ts.HeatTransferCoefficientSetter
|
1440
|
+
_expected_dimension = dim.HEAT_TRANSFER_COEFFICIENT
|
1441
|
+
|
1442
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1443
|
+
|
1444
|
+
def set(self, value: int | float) -> ts.HeatTransferCoefficientSetter:
|
1445
|
+
"""
|
1446
|
+
Create a setter for this heat transfer coefficient quantity.
|
1447
|
+
|
1448
|
+
Args:
|
1449
|
+
value: The numeric value to set
|
1450
|
+
|
1451
|
+
Returns:
|
1452
|
+
HeatTransferCoefficientSetter: A setter with unit properties like .meters, .inches, etc.
|
1453
|
+
|
1454
|
+
Example:
|
1455
|
+
>>> length = Length("beam_length")
|
1456
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1457
|
+
"""
|
1458
|
+
...
|
1459
|
+
|
1460
|
+
|
1461
|
+
class Illuminance(TypedQuantity):
|
1462
|
+
"""
|
1463
|
+
Type-safe illuminance quantity with expression capabilities.
|
1464
|
+
|
1465
|
+
Constructor Options:
|
1466
|
+
-------------------
|
1467
|
+
- Illuminance("variable_name") -> Create unknown illuminance
|
1468
|
+
- Illuminance(value, "unit", "variable_name") -> Create known illuminance
|
1469
|
+
|
1470
|
+
Examples:
|
1471
|
+
---------
|
1472
|
+
>>> unknown = Illuminance("pressure") # Unknown illuminance
|
1473
|
+
>>> known = Illuminance(100, "foot_candle", "inlet_pressure") # Known illuminance
|
1474
|
+
|
1475
|
+
Available units: "foot_candle", "lux", "nox"
|
1476
|
+
"""
|
1477
|
+
__slots__ = ()
|
1478
|
+
_setter_class = ts.IlluminanceSetter
|
1479
|
+
_expected_dimension = dim.ILLUMINANCE
|
1480
|
+
|
1481
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1482
|
+
|
1483
|
+
def set(self, value: int | float) -> ts.IlluminanceSetter:
|
1484
|
+
"""
|
1485
|
+
Create a setter for this illuminance quantity.
|
1486
|
+
|
1487
|
+
Args:
|
1488
|
+
value: The numeric value to set
|
1489
|
+
|
1490
|
+
Returns:
|
1491
|
+
IlluminanceSetter: A setter with unit properties like .meters, .inches, etc.
|
1492
|
+
|
1493
|
+
Example:
|
1494
|
+
>>> length = Length("beam_length")
|
1495
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1496
|
+
"""
|
1497
|
+
...
|
1498
|
+
|
1499
|
+
|
1500
|
+
class KineticEnergyOfTurbulence(TypedQuantity):
|
1501
|
+
"""
|
1502
|
+
Type-safe kinetic energy of turbulence quantity with expression capabilities.
|
1503
|
+
|
1504
|
+
Constructor Options:
|
1505
|
+
-------------------
|
1506
|
+
- KineticEnergyOfTurbulence("variable_name") -> Create unknown kinetic energy of turbulence
|
1507
|
+
- KineticEnergyOfTurbulence(value, "unit", "variable_name") -> Create known kinetic energy of turbulence
|
1508
|
+
|
1509
|
+
Examples:
|
1510
|
+
---------
|
1511
|
+
>>> unknown = KineticEnergyOfTurbulence("pressure") # Unknown kinetic energy of turbulence
|
1512
|
+
>>> known = KineticEnergyOfTurbulence(100, "square_foot_per_second_squared", "inlet_pressure") # Known kinetic energy of turbulence
|
1513
|
+
|
1514
|
+
Available units: "square_foot_per_second_squared", "square_meters_per_second_squared"
|
1515
|
+
"""
|
1516
|
+
__slots__ = ()
|
1517
|
+
_setter_class = ts.KineticEnergyOfTurbulenceSetter
|
1518
|
+
_expected_dimension = dim.KINETIC_ENERGY_OF_TURBULENCE
|
1519
|
+
|
1520
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1521
|
+
|
1522
|
+
def set(self, value: int | float) -> ts.KineticEnergyOfTurbulenceSetter:
|
1523
|
+
"""
|
1524
|
+
Create a setter for this kinetic energy of turbulence quantity.
|
1525
|
+
|
1526
|
+
Args:
|
1527
|
+
value: The numeric value to set
|
1528
|
+
|
1529
|
+
Returns:
|
1530
|
+
KineticEnergyOfTurbulenceSetter: A setter with unit properties like .meters, .inches, etc.
|
1531
|
+
|
1532
|
+
Example:
|
1533
|
+
>>> length = Length("beam_length")
|
1534
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1535
|
+
"""
|
1536
|
+
...
|
1537
|
+
|
1538
|
+
|
1539
|
+
class Length(TypedQuantity):
|
1540
|
+
"""
|
1541
|
+
Type-safe length quantity with expression capabilities.
|
1542
|
+
|
1543
|
+
Constructor Options:
|
1544
|
+
-------------------
|
1545
|
+
- Length("variable_name") -> Create unknown length
|
1546
|
+
- Length(value, "unit", "variable_name") -> Create known length
|
1547
|
+
|
1548
|
+
Examples:
|
1549
|
+
---------
|
1550
|
+
>>> unknown = Length("pressure") # Unknown length
|
1551
|
+
>>> known = Length(100, "ngstr_m", "inlet_pressure") # Known length
|
1552
|
+
|
1553
|
+
Available units: "ngstr_m", "arpent_quebec", "astronomic_unit"
|
1554
|
+
"""
|
1555
|
+
__slots__ = ()
|
1556
|
+
_setter_class = ts.LengthSetter
|
1557
|
+
_expected_dimension = dim.LENGTH
|
1558
|
+
|
1559
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1560
|
+
|
1561
|
+
def set(self, value: int | float) -> ts.LengthSetter:
|
1562
|
+
"""
|
1563
|
+
Create a setter for this length quantity.
|
1564
|
+
|
1565
|
+
Args:
|
1566
|
+
value: The numeric value to set
|
1567
|
+
|
1568
|
+
Returns:
|
1569
|
+
LengthSetter: A setter with unit properties like .meters, .inches, etc.
|
1570
|
+
|
1571
|
+
Example:
|
1572
|
+
>>> length = Length("beam_length")
|
1573
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1574
|
+
"""
|
1575
|
+
...
|
1576
|
+
|
1577
|
+
|
1578
|
+
class LinearMassDensity(TypedQuantity):
|
1579
|
+
"""
|
1580
|
+
Type-safe linear mass density quantity with expression capabilities.
|
1581
|
+
|
1582
|
+
Constructor Options:
|
1583
|
+
-------------------
|
1584
|
+
- LinearMassDensity("variable_name") -> Create unknown linear mass density
|
1585
|
+
- LinearMassDensity(value, "unit", "variable_name") -> Create known linear mass density
|
1586
|
+
|
1587
|
+
Examples:
|
1588
|
+
---------
|
1589
|
+
>>> unknown = LinearMassDensity("pressure") # Unknown linear mass density
|
1590
|
+
>>> known = LinearMassDensity(100, "denier", "inlet_pressure") # Known linear mass density
|
1591
|
+
|
1592
|
+
Available units: "denier", "kilogram_per_centimeter", "kilogram_per_meter"
|
1593
|
+
"""
|
1594
|
+
__slots__ = ()
|
1595
|
+
_setter_class = ts.LinearMassDensitySetter
|
1596
|
+
_expected_dimension = dim.LINEAR_MASS_DENSITY
|
1597
|
+
|
1598
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1599
|
+
|
1600
|
+
def set(self, value: int | float) -> ts.LinearMassDensitySetter:
|
1601
|
+
"""
|
1602
|
+
Create a setter for this linear mass density quantity.
|
1603
|
+
|
1604
|
+
Args:
|
1605
|
+
value: The numeric value to set
|
1606
|
+
|
1607
|
+
Returns:
|
1608
|
+
LinearMassDensitySetter: A setter with unit properties like .meters, .inches, etc.
|
1609
|
+
|
1610
|
+
Example:
|
1611
|
+
>>> length = Length("beam_length")
|
1612
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1613
|
+
"""
|
1614
|
+
...
|
1615
|
+
|
1616
|
+
|
1617
|
+
class LinearMomentum(TypedQuantity):
|
1618
|
+
"""
|
1619
|
+
Type-safe linear momentum quantity with expression capabilities.
|
1620
|
+
|
1621
|
+
Constructor Options:
|
1622
|
+
-------------------
|
1623
|
+
- LinearMomentum("variable_name") -> Create unknown linear momentum
|
1624
|
+
- LinearMomentum(value, "unit", "variable_name") -> Create known linear momentum
|
1625
|
+
|
1626
|
+
Examples:
|
1627
|
+
---------
|
1628
|
+
>>> unknown = LinearMomentum("pressure") # Unknown linear momentum
|
1629
|
+
>>> known = LinearMomentum(100, "foot_pounds_force_per_hour", "inlet_pressure") # Known linear momentum
|
1630
|
+
|
1631
|
+
Available units: "foot_pounds_force_per_hour", "foot_pounds_force_per_minute", "foot_pounds_force_per_second"
|
1632
|
+
"""
|
1633
|
+
__slots__ = ()
|
1634
|
+
_setter_class = ts.LinearMomentumSetter
|
1635
|
+
_expected_dimension = dim.LINEAR_MOMENTUM
|
1636
|
+
|
1637
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1638
|
+
|
1639
|
+
def set(self, value: int | float) -> ts.LinearMomentumSetter:
|
1640
|
+
"""
|
1641
|
+
Create a setter for this linear momentum quantity.
|
1642
|
+
|
1643
|
+
Args:
|
1644
|
+
value: The numeric value to set
|
1645
|
+
|
1646
|
+
Returns:
|
1647
|
+
LinearMomentumSetter: A setter with unit properties like .meters, .inches, etc.
|
1648
|
+
|
1649
|
+
Example:
|
1650
|
+
>>> length = Length("beam_length")
|
1651
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1652
|
+
"""
|
1653
|
+
...
|
1654
|
+
|
1655
|
+
|
1656
|
+
class LuminanceSelf(TypedQuantity):
|
1657
|
+
"""
|
1658
|
+
Type-safe luminance (self) quantity with expression capabilities.
|
1659
|
+
|
1660
|
+
Constructor Options:
|
1661
|
+
-------------------
|
1662
|
+
- LuminanceSelf("variable_name") -> Create unknown luminance (self)
|
1663
|
+
- LuminanceSelf(value, "unit", "variable_name") -> Create known luminance (self)
|
1664
|
+
|
1665
|
+
Examples:
|
1666
|
+
---------
|
1667
|
+
>>> unknown = LuminanceSelf("pressure") # Unknown luminance (self)
|
1668
|
+
>>> known = LuminanceSelf(100, "apostilb", "inlet_pressure") # Known luminance (self)
|
1669
|
+
|
1670
|
+
Available units: "apostilb", "blondel", "candela_per_square_meter"
|
1671
|
+
"""
|
1672
|
+
__slots__ = ()
|
1673
|
+
_setter_class = ts.LuminanceSelfSetter
|
1674
|
+
_expected_dimension = dim.LUMINANCE_SELF
|
1675
|
+
|
1676
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1677
|
+
|
1678
|
+
def set(self, value: int | float) -> ts.LuminanceSelfSetter:
|
1679
|
+
"""
|
1680
|
+
Create a setter for this luminance (self) quantity.
|
1681
|
+
|
1682
|
+
Args:
|
1683
|
+
value: The numeric value to set
|
1684
|
+
|
1685
|
+
Returns:
|
1686
|
+
LuminanceSelfSetter: A setter with unit properties like .meters, .inches, etc.
|
1687
|
+
|
1688
|
+
Example:
|
1689
|
+
>>> length = Length("beam_length")
|
1690
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1691
|
+
"""
|
1692
|
+
...
|
1693
|
+
|
1694
|
+
|
1695
|
+
class LuminousFlux(TypedQuantity):
|
1696
|
+
"""
|
1697
|
+
Type-safe luminous flux quantity with expression capabilities.
|
1698
|
+
|
1699
|
+
Constructor Options:
|
1700
|
+
-------------------
|
1701
|
+
- LuminousFlux("variable_name") -> Create unknown luminous flux
|
1702
|
+
- LuminousFlux(value, "unit", "variable_name") -> Create known luminous flux
|
1703
|
+
|
1704
|
+
Examples:
|
1705
|
+
---------
|
1706
|
+
>>> unknown = LuminousFlux("pressure") # Unknown luminous flux
|
1707
|
+
>>> known = LuminousFlux(100, "candela_steradian", "inlet_pressure") # Known luminous flux
|
1708
|
+
|
1709
|
+
Available units: "candela_steradian", "lumen"
|
1710
|
+
"""
|
1711
|
+
__slots__ = ()
|
1712
|
+
_setter_class = ts.LuminousFluxSetter
|
1713
|
+
_expected_dimension = dim.LUMINOUS_FLUX
|
1714
|
+
|
1715
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1716
|
+
|
1717
|
+
def set(self, value: int | float) -> ts.LuminousFluxSetter:
|
1718
|
+
"""
|
1719
|
+
Create a setter for this luminous flux quantity.
|
1720
|
+
|
1721
|
+
Args:
|
1722
|
+
value: The numeric value to set
|
1723
|
+
|
1724
|
+
Returns:
|
1725
|
+
LuminousFluxSetter: A setter with unit properties like .meters, .inches, etc.
|
1726
|
+
|
1727
|
+
Example:
|
1728
|
+
>>> length = Length("beam_length")
|
1729
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1730
|
+
"""
|
1731
|
+
...
|
1732
|
+
|
1733
|
+
|
1734
|
+
class LuminousIntensity(TypedQuantity):
|
1735
|
+
"""
|
1736
|
+
Type-safe luminous intensity quantity with expression capabilities.
|
1737
|
+
|
1738
|
+
Constructor Options:
|
1739
|
+
-------------------
|
1740
|
+
- LuminousIntensity("variable_name") -> Create unknown luminous intensity
|
1741
|
+
- LuminousIntensity(value, "unit", "variable_name") -> Create known luminous intensity
|
1742
|
+
|
1743
|
+
Examples:
|
1744
|
+
---------
|
1745
|
+
>>> unknown = LuminousIntensity("pressure") # Unknown luminous intensity
|
1746
|
+
>>> known = LuminousIntensity(100, "candela", "inlet_pressure") # Known luminous intensity
|
1747
|
+
|
1748
|
+
Available units: "candela", "candle_international", "carcel"
|
1749
|
+
"""
|
1750
|
+
__slots__ = ()
|
1751
|
+
_setter_class = ts.LuminousIntensitySetter
|
1752
|
+
_expected_dimension = dim.LUMINOUS_INTENSITY
|
1753
|
+
|
1754
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1755
|
+
|
1756
|
+
def set(self, value: int | float) -> ts.LuminousIntensitySetter:
|
1757
|
+
"""
|
1758
|
+
Create a setter for this luminous intensity quantity.
|
1759
|
+
|
1760
|
+
Args:
|
1761
|
+
value: The numeric value to set
|
1762
|
+
|
1763
|
+
Returns:
|
1764
|
+
LuminousIntensitySetter: A setter with unit properties like .meters, .inches, etc.
|
1765
|
+
|
1766
|
+
Example:
|
1767
|
+
>>> length = Length("beam_length")
|
1768
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1769
|
+
"""
|
1770
|
+
...
|
1771
|
+
|
1772
|
+
|
1773
|
+
class MagneticField(TypedQuantity):
|
1774
|
+
"""
|
1775
|
+
Type-safe magnetic field quantity with expression capabilities.
|
1776
|
+
|
1777
|
+
Constructor Options:
|
1778
|
+
-------------------
|
1779
|
+
- MagneticField("variable_name") -> Create unknown magnetic field
|
1780
|
+
- MagneticField(value, "unit", "variable_name") -> Create known magnetic field
|
1781
|
+
|
1782
|
+
Examples:
|
1783
|
+
---------
|
1784
|
+
>>> unknown = MagneticField("pressure") # Unknown magnetic field
|
1785
|
+
>>> known = MagneticField(100, "ampere_per_meter", "inlet_pressure") # Known magnetic field
|
1786
|
+
|
1787
|
+
Available units: "ampere_per_meter", "lenz", "oersted"
|
1788
|
+
"""
|
1789
|
+
__slots__ = ()
|
1790
|
+
_setter_class = ts.MagneticFieldSetter
|
1791
|
+
_expected_dimension = dim.MAGNETIC_FIELD
|
1792
|
+
|
1793
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1794
|
+
|
1795
|
+
def set(self, value: int | float) -> ts.MagneticFieldSetter:
|
1796
|
+
"""
|
1797
|
+
Create a setter for this magnetic field quantity.
|
1798
|
+
|
1799
|
+
Args:
|
1800
|
+
value: The numeric value to set
|
1801
|
+
|
1802
|
+
Returns:
|
1803
|
+
MagneticFieldSetter: A setter with unit properties like .meters, .inches, etc.
|
1804
|
+
|
1805
|
+
Example:
|
1806
|
+
>>> length = Length("beam_length")
|
1807
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1808
|
+
"""
|
1809
|
+
...
|
1810
|
+
|
1811
|
+
|
1812
|
+
class MagneticFlux(TypedQuantity):
|
1813
|
+
"""
|
1814
|
+
Type-safe magnetic flux quantity with expression capabilities.
|
1815
|
+
|
1816
|
+
Constructor Options:
|
1817
|
+
-------------------
|
1818
|
+
- MagneticFlux("variable_name") -> Create unknown magnetic flux
|
1819
|
+
- MagneticFlux(value, "unit", "variable_name") -> Create known magnetic flux
|
1820
|
+
|
1821
|
+
Examples:
|
1822
|
+
---------
|
1823
|
+
>>> unknown = MagneticFlux("pressure") # Unknown magnetic flux
|
1824
|
+
>>> known = MagneticFlux(100, "kapp_line", "inlet_pressure") # Known magnetic flux
|
1825
|
+
|
1826
|
+
Available units: "kapp_line", "line", "maxwell"
|
1827
|
+
"""
|
1828
|
+
__slots__ = ()
|
1829
|
+
_setter_class = ts.MagneticFluxSetter
|
1830
|
+
_expected_dimension = dim.MAGNETIC_FLUX
|
1831
|
+
|
1832
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1833
|
+
|
1834
|
+
def set(self, value: int | float) -> ts.MagneticFluxSetter:
|
1835
|
+
"""
|
1836
|
+
Create a setter for this magnetic flux quantity.
|
1837
|
+
|
1838
|
+
Args:
|
1839
|
+
value: The numeric value to set
|
1840
|
+
|
1841
|
+
Returns:
|
1842
|
+
MagneticFluxSetter: A setter with unit properties like .meters, .inches, etc.
|
1843
|
+
|
1844
|
+
Example:
|
1845
|
+
>>> length = Length("beam_length")
|
1846
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1847
|
+
"""
|
1848
|
+
...
|
1849
|
+
|
1850
|
+
|
1851
|
+
class MagneticInductionFieldStrength(TypedQuantity):
|
1852
|
+
"""
|
1853
|
+
Type-safe magnetic induction field strength quantity with expression capabilities.
|
1854
|
+
|
1855
|
+
Constructor Options:
|
1856
|
+
-------------------
|
1857
|
+
- MagneticInductionFieldStrength("variable_name") -> Create unknown magnetic induction field strength
|
1858
|
+
- MagneticInductionFieldStrength(value, "unit", "variable_name") -> Create known magnetic induction field strength
|
1859
|
+
|
1860
|
+
Examples:
|
1861
|
+
---------
|
1862
|
+
>>> unknown = MagneticInductionFieldStrength("pressure") # Unknown magnetic induction field strength
|
1863
|
+
>>> known = MagneticInductionFieldStrength(100, "gamma", "inlet_pressure") # Known magnetic induction field strength
|
1864
|
+
|
1865
|
+
Available units: "gamma", "gauss", "line_per_square_centimeter"
|
1866
|
+
"""
|
1867
|
+
__slots__ = ()
|
1868
|
+
_setter_class = ts.MagneticInductionFieldStrengthSetter
|
1869
|
+
_expected_dimension = dim.MAGNETIC_INDUCTION_FIELD_STRENGTH
|
1870
|
+
|
1871
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1872
|
+
|
1873
|
+
def set(self, value: int | float) -> ts.MagneticInductionFieldStrengthSetter:
|
1874
|
+
"""
|
1875
|
+
Create a setter for this magnetic induction field strength quantity.
|
1876
|
+
|
1877
|
+
Args:
|
1878
|
+
value: The numeric value to set
|
1879
|
+
|
1880
|
+
Returns:
|
1881
|
+
MagneticInductionFieldStrengthSetter: A setter with unit properties like .meters, .inches, etc.
|
1882
|
+
|
1883
|
+
Example:
|
1884
|
+
>>> length = Length("beam_length")
|
1885
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1886
|
+
"""
|
1887
|
+
...
|
1888
|
+
|
1889
|
+
|
1890
|
+
class MagneticMoment(TypedQuantity):
|
1891
|
+
"""
|
1892
|
+
Type-safe magnetic moment quantity with expression capabilities.
|
1893
|
+
|
1894
|
+
Constructor Options:
|
1895
|
+
-------------------
|
1896
|
+
- MagneticMoment("variable_name") -> Create unknown magnetic moment
|
1897
|
+
- MagneticMoment(value, "unit", "variable_name") -> Create known magnetic moment
|
1898
|
+
|
1899
|
+
Examples:
|
1900
|
+
---------
|
1901
|
+
>>> unknown = MagneticMoment("pressure") # Unknown magnetic moment
|
1902
|
+
>>> known = MagneticMoment(100, "bohr_magneton", "inlet_pressure") # Known magnetic moment
|
1903
|
+
|
1904
|
+
Available units: "bohr_magneton", "joule_per_tesla", "nuclear_magneton"
|
1905
|
+
"""
|
1906
|
+
__slots__ = ()
|
1907
|
+
_setter_class = ts.MagneticMomentSetter
|
1908
|
+
_expected_dimension = dim.MAGNETIC_MOMENT
|
1909
|
+
|
1910
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1911
|
+
|
1912
|
+
def set(self, value: int | float) -> ts.MagneticMomentSetter:
|
1913
|
+
"""
|
1914
|
+
Create a setter for this magnetic moment quantity.
|
1915
|
+
|
1916
|
+
Args:
|
1917
|
+
value: The numeric value to set
|
1918
|
+
|
1919
|
+
Returns:
|
1920
|
+
MagneticMomentSetter: A setter with unit properties like .meters, .inches, etc.
|
1921
|
+
|
1922
|
+
Example:
|
1923
|
+
>>> length = Length("beam_length")
|
1924
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1925
|
+
"""
|
1926
|
+
...
|
1927
|
+
|
1928
|
+
|
1929
|
+
class MagneticPermeability(TypedQuantity):
|
1930
|
+
"""
|
1931
|
+
Type-safe magnetic permeability quantity with expression capabilities.
|
1932
|
+
|
1933
|
+
Constructor Options:
|
1934
|
+
-------------------
|
1935
|
+
- MagneticPermeability("variable_name") -> Create unknown magnetic permeability
|
1936
|
+
- MagneticPermeability(value, "unit", "variable_name") -> Create known magnetic permeability
|
1937
|
+
|
1938
|
+
Examples:
|
1939
|
+
---------
|
1940
|
+
>>> unknown = MagneticPermeability("pressure") # Unknown magnetic permeability
|
1941
|
+
>>> known = MagneticPermeability(100, "henrys_per_meter", "inlet_pressure") # Known magnetic permeability
|
1942
|
+
|
1943
|
+
Available units: "henrys_per_meter", "newton_per_square_ampere"
|
1944
|
+
"""
|
1945
|
+
__slots__ = ()
|
1946
|
+
_setter_class = ts.MagneticPermeabilitySetter
|
1947
|
+
_expected_dimension = dim.MAGNETIC_PERMEABILITY
|
1948
|
+
|
1949
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1950
|
+
|
1951
|
+
def set(self, value: int | float) -> ts.MagneticPermeabilitySetter:
|
1952
|
+
"""
|
1953
|
+
Create a setter for this magnetic permeability quantity.
|
1954
|
+
|
1955
|
+
Args:
|
1956
|
+
value: The numeric value to set
|
1957
|
+
|
1958
|
+
Returns:
|
1959
|
+
MagneticPermeabilitySetter: A setter with unit properties like .meters, .inches, etc.
|
1960
|
+
|
1961
|
+
Example:
|
1962
|
+
>>> length = Length("beam_length")
|
1963
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
1964
|
+
"""
|
1965
|
+
...
|
1966
|
+
|
1967
|
+
|
1968
|
+
class MagnetomotiveForce(TypedQuantity):
|
1969
|
+
"""
|
1970
|
+
Type-safe magnetomotive force quantity with expression capabilities.
|
1971
|
+
|
1972
|
+
Constructor Options:
|
1973
|
+
-------------------
|
1974
|
+
- MagnetomotiveForce("variable_name") -> Create unknown magnetomotive force
|
1975
|
+
- MagnetomotiveForce(value, "unit", "variable_name") -> Create known magnetomotive force
|
1976
|
+
|
1977
|
+
Examples:
|
1978
|
+
---------
|
1979
|
+
>>> unknown = MagnetomotiveForce("pressure") # Unknown magnetomotive force
|
1980
|
+
>>> known = MagnetomotiveForce(100, "abampere_turn", "inlet_pressure") # Known magnetomotive force
|
1981
|
+
|
1982
|
+
Available units: "abampere_turn", "ampere", "ampere_turn"
|
1983
|
+
"""
|
1984
|
+
__slots__ = ()
|
1985
|
+
_setter_class = ts.MagnetomotiveForceSetter
|
1986
|
+
_expected_dimension = dim.MAGNETOMOTIVE_FORCE
|
1987
|
+
|
1988
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
1989
|
+
|
1990
|
+
def set(self, value: int | float) -> ts.MagnetomotiveForceSetter:
|
1991
|
+
"""
|
1992
|
+
Create a setter for this magnetomotive force quantity.
|
1993
|
+
|
1994
|
+
Args:
|
1995
|
+
value: The numeric value to set
|
1996
|
+
|
1997
|
+
Returns:
|
1998
|
+
MagnetomotiveForceSetter: A setter with unit properties like .meters, .inches, etc.
|
1999
|
+
|
2000
|
+
Example:
|
2001
|
+
>>> length = Length("beam_length")
|
2002
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2003
|
+
"""
|
2004
|
+
...
|
2005
|
+
|
2006
|
+
|
2007
|
+
class Mass(TypedQuantity):
|
2008
|
+
"""
|
2009
|
+
Type-safe mass quantity with expression capabilities.
|
2010
|
+
|
2011
|
+
Constructor Options:
|
2012
|
+
-------------------
|
2013
|
+
- Mass("variable_name") -> Create unknown mass
|
2014
|
+
- Mass(value, "unit", "variable_name") -> Create known mass
|
2015
|
+
|
2016
|
+
Examples:
|
2017
|
+
---------
|
2018
|
+
>>> unknown = Mass("pressure") # Unknown mass
|
2019
|
+
>>> known = Mass(100, "slug", "inlet_pressure") # Known mass
|
2020
|
+
|
2021
|
+
Available units: "slug", "atomic_mass_unit_12_mathrmc", "carat_metric"
|
2022
|
+
"""
|
2023
|
+
__slots__ = ()
|
2024
|
+
_setter_class = ts.MassSetter
|
2025
|
+
_expected_dimension = dim.MASS
|
2026
|
+
|
2027
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2028
|
+
|
2029
|
+
def set(self, value: int | float) -> ts.MassSetter:
|
2030
|
+
"""
|
2031
|
+
Create a setter for this mass quantity.
|
2032
|
+
|
2033
|
+
Args:
|
2034
|
+
value: The numeric value to set
|
2035
|
+
|
2036
|
+
Returns:
|
2037
|
+
MassSetter: A setter with unit properties like .meters, .inches, etc.
|
2038
|
+
|
2039
|
+
Example:
|
2040
|
+
>>> length = Length("beam_length")
|
2041
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2042
|
+
"""
|
2043
|
+
...
|
2044
|
+
|
2045
|
+
|
2046
|
+
class MassDensity(TypedQuantity):
|
2047
|
+
"""
|
2048
|
+
Type-safe mass density quantity with expression capabilities.
|
2049
|
+
|
2050
|
+
Constructor Options:
|
2051
|
+
-------------------
|
2052
|
+
- MassDensity("variable_name") -> Create unknown mass density
|
2053
|
+
- MassDensity(value, "unit", "variable_name") -> Create known mass density
|
2054
|
+
|
2055
|
+
Examples:
|
2056
|
+
---------
|
2057
|
+
>>> unknown = MassDensity("pressure") # Unknown mass density
|
2058
|
+
>>> known = MassDensity(100, "gram_per_cubic_centimeter", "inlet_pressure") # Known mass density
|
2059
|
+
|
2060
|
+
Available units: "gram_per_cubic_centimeter", "gram_per_cubic_decimeter", "gram_per_cubic_meter"
|
2061
|
+
"""
|
2062
|
+
__slots__ = ()
|
2063
|
+
_setter_class = ts.MassDensitySetter
|
2064
|
+
_expected_dimension = dim.MASS_DENSITY
|
2065
|
+
|
2066
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2067
|
+
|
2068
|
+
def set(self, value: int | float) -> ts.MassDensitySetter:
|
2069
|
+
"""
|
2070
|
+
Create a setter for this mass density quantity.
|
2071
|
+
|
2072
|
+
Args:
|
2073
|
+
value: The numeric value to set
|
2074
|
+
|
2075
|
+
Returns:
|
2076
|
+
MassDensitySetter: A setter with unit properties like .meters, .inches, etc.
|
2077
|
+
|
2078
|
+
Example:
|
2079
|
+
>>> length = Length("beam_length")
|
2080
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2081
|
+
"""
|
2082
|
+
...
|
2083
|
+
|
2084
|
+
|
2085
|
+
class MassFlowRate(TypedQuantity):
|
2086
|
+
"""
|
2087
|
+
Type-safe mass flow rate quantity with expression capabilities.
|
2088
|
+
|
2089
|
+
Constructor Options:
|
2090
|
+
-------------------
|
2091
|
+
- MassFlowRate("variable_name") -> Create unknown mass flow rate
|
2092
|
+
- MassFlowRate(value, "unit", "variable_name") -> Create known mass flow rate
|
2093
|
+
|
2094
|
+
Examples:
|
2095
|
+
---------
|
2096
|
+
>>> unknown = MassFlowRate("pressure") # Unknown mass flow rate
|
2097
|
+
>>> known = MassFlowRate(100, "kilograms_per_day", "inlet_pressure") # Known mass flow rate
|
2098
|
+
|
2099
|
+
Available units: "kilograms_per_day", "kilograms_per_hour", "kilograms_per_minute"
|
2100
|
+
"""
|
2101
|
+
__slots__ = ()
|
2102
|
+
_setter_class = ts.MassFlowRateSetter
|
2103
|
+
_expected_dimension = dim.MASS_FLOW_RATE
|
2104
|
+
|
2105
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2106
|
+
|
2107
|
+
def set(self, value: int | float) -> ts.MassFlowRateSetter:
|
2108
|
+
"""
|
2109
|
+
Create a setter for this mass flow rate quantity.
|
2110
|
+
|
2111
|
+
Args:
|
2112
|
+
value: The numeric value to set
|
2113
|
+
|
2114
|
+
Returns:
|
2115
|
+
MassFlowRateSetter: A setter with unit properties like .meters, .inches, etc.
|
2116
|
+
|
2117
|
+
Example:
|
2118
|
+
>>> length = Length("beam_length")
|
2119
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2120
|
+
"""
|
2121
|
+
...
|
2122
|
+
|
2123
|
+
|
2124
|
+
class MassFlux(TypedQuantity):
|
2125
|
+
"""
|
2126
|
+
Type-safe mass flux quantity with expression capabilities.
|
2127
|
+
|
2128
|
+
Constructor Options:
|
2129
|
+
-------------------
|
2130
|
+
- MassFlux("variable_name") -> Create unknown mass flux
|
2131
|
+
- MassFlux(value, "unit", "variable_name") -> Create known mass flux
|
2132
|
+
|
2133
|
+
Examples:
|
2134
|
+
---------
|
2135
|
+
>>> unknown = MassFlux("pressure") # Unknown mass flux
|
2136
|
+
>>> known = MassFlux(100, "kilogram_per_square_meter_per_day", "inlet_pressure") # Known mass flux
|
2137
|
+
|
2138
|
+
Available units: "kilogram_per_square_meter_per_day", "kilogram_per_square_meter_per_hour", "kilogram_per_square_meter_per_minute"
|
2139
|
+
"""
|
2140
|
+
__slots__ = ()
|
2141
|
+
_setter_class = ts.MassFluxSetter
|
2142
|
+
_expected_dimension = dim.MASS_FLUX
|
2143
|
+
|
2144
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2145
|
+
|
2146
|
+
def set(self, value: int | float) -> ts.MassFluxSetter:
|
2147
|
+
"""
|
2148
|
+
Create a setter for this mass flux quantity.
|
2149
|
+
|
2150
|
+
Args:
|
2151
|
+
value: The numeric value to set
|
2152
|
+
|
2153
|
+
Returns:
|
2154
|
+
MassFluxSetter: A setter with unit properties like .meters, .inches, etc.
|
2155
|
+
|
2156
|
+
Example:
|
2157
|
+
>>> length = Length("beam_length")
|
2158
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2159
|
+
"""
|
2160
|
+
...
|
2161
|
+
|
2162
|
+
|
2163
|
+
class MassFractionOfI(TypedQuantity):
|
2164
|
+
"""
|
2165
|
+
Type-safe mass fraction of "i" quantity with expression capabilities.
|
2166
|
+
|
2167
|
+
Constructor Options:
|
2168
|
+
-------------------
|
2169
|
+
- MassFractionOfI("variable_name") -> Create unknown mass fraction of "i"
|
2170
|
+
- MassFractionOfI(value, "unit", "variable_name") -> Create known mass fraction of "i"
|
2171
|
+
|
2172
|
+
Examples:
|
2173
|
+
---------
|
2174
|
+
>>> unknown = MassFractionOfI("pressure") # Unknown mass fraction of "i"
|
2175
|
+
>>> known = MassFractionOfI(100, "grains_of_i_per_pound_total", "inlet_pressure") # Known mass fraction of "i"
|
2176
|
+
|
2177
|
+
Available units: "grains_of_i_per_pound_total", "gram_of_i_per_kilogram_total", "kilogram_of_i_per_kilogram_total"
|
2178
|
+
"""
|
2179
|
+
__slots__ = ()
|
2180
|
+
_setter_class = ts.MassFractionOfISetter
|
2181
|
+
_expected_dimension = dim.MASS_FRACTION_OF_I
|
2182
|
+
|
2183
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2184
|
+
|
2185
|
+
def set(self, value: int | float) -> ts.MassFractionOfISetter:
|
2186
|
+
"""
|
2187
|
+
Create a setter for this mass fraction of "i" quantity.
|
2188
|
+
|
2189
|
+
Args:
|
2190
|
+
value: The numeric value to set
|
2191
|
+
|
2192
|
+
Returns:
|
2193
|
+
MassFractionOfISetter: A setter with unit properties like .meters, .inches, etc.
|
2194
|
+
|
2195
|
+
Example:
|
2196
|
+
>>> length = Length("beam_length")
|
2197
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2198
|
+
"""
|
2199
|
+
...
|
2200
|
+
|
2201
|
+
|
2202
|
+
class MassTransferCoefficient(TypedQuantity):
|
2203
|
+
"""
|
2204
|
+
Type-safe mass transfer coefficient quantity with expression capabilities.
|
2205
|
+
|
2206
|
+
Constructor Options:
|
2207
|
+
-------------------
|
2208
|
+
- MassTransferCoefficient("variable_name") -> Create unknown mass transfer coefficient
|
2209
|
+
- MassTransferCoefficient(value, "unit", "variable_name") -> Create known mass transfer coefficient
|
2210
|
+
|
2211
|
+
Examples:
|
2212
|
+
---------
|
2213
|
+
>>> unknown = MassTransferCoefficient("pressure") # Unknown mass transfer coefficient
|
2214
|
+
>>> known = MassTransferCoefficient(100, "gram_per_square_centimeter_per_second", "inlet_pressure") # Known mass transfer coefficient
|
2215
|
+
|
2216
|
+
Available units: "gram_per_square_centimeter_per_second", "kilogram_per_square_meter_per_second", "pounds_force_per_cubic_foot_per_hour"
|
2217
|
+
"""
|
2218
|
+
__slots__ = ()
|
2219
|
+
_setter_class = ts.MassTransferCoefficientSetter
|
2220
|
+
_expected_dimension = dim.MASS_TRANSFER_COEFFICIENT
|
2221
|
+
|
2222
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2223
|
+
|
2224
|
+
def set(self, value: int | float) -> ts.MassTransferCoefficientSetter:
|
2225
|
+
"""
|
2226
|
+
Create a setter for this mass transfer coefficient quantity.
|
2227
|
+
|
2228
|
+
Args:
|
2229
|
+
value: The numeric value to set
|
2230
|
+
|
2231
|
+
Returns:
|
2232
|
+
MassTransferCoefficientSetter: A setter with unit properties like .meters, .inches, etc.
|
2233
|
+
|
2234
|
+
Example:
|
2235
|
+
>>> length = Length("beam_length")
|
2236
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2237
|
+
"""
|
2238
|
+
...
|
2239
|
+
|
2240
|
+
|
2241
|
+
class MolalityOfSoluteI(TypedQuantity):
|
2242
|
+
"""
|
2243
|
+
Type-safe molality of solute "i" quantity with expression capabilities.
|
2244
|
+
|
2245
|
+
Constructor Options:
|
2246
|
+
-------------------
|
2247
|
+
- MolalityOfSoluteI("variable_name") -> Create unknown molality of solute "i"
|
2248
|
+
- MolalityOfSoluteI(value, "unit", "variable_name") -> Create known molality of solute "i"
|
2249
|
+
|
2250
|
+
Examples:
|
2251
|
+
---------
|
2252
|
+
>>> unknown = MolalityOfSoluteI("pressure") # Unknown molality of solute "i"
|
2253
|
+
>>> known = MolalityOfSoluteI(100, "gram_moles_of_i_per_kilogram", "inlet_pressure") # Known molality of solute "i"
|
2254
|
+
|
2255
|
+
Available units: "gram_moles_of_i_per_kilogram", "kilogram_mols_of_i_per_kilogram", "kmols_of_i_per_kilogram"
|
2256
|
+
"""
|
2257
|
+
__slots__ = ()
|
2258
|
+
_setter_class = ts.MolalityOfSoluteISetter
|
2259
|
+
_expected_dimension = dim.MOLALITY_OF_SOLUTE_I
|
2260
|
+
|
2261
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2262
|
+
|
2263
|
+
def set(self, value: int | float) -> ts.MolalityOfSoluteISetter:
|
2264
|
+
"""
|
2265
|
+
Create a setter for this molality of solute "i" quantity.
|
2266
|
+
|
2267
|
+
Args:
|
2268
|
+
value: The numeric value to set
|
2269
|
+
|
2270
|
+
Returns:
|
2271
|
+
MolalityOfSoluteISetter: A setter with unit properties like .meters, .inches, etc.
|
2272
|
+
|
2273
|
+
Example:
|
2274
|
+
>>> length = Length("beam_length")
|
2275
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2276
|
+
"""
|
2277
|
+
...
|
2278
|
+
|
2279
|
+
|
2280
|
+
class MolarConcentrationByMass(TypedQuantity):
|
2281
|
+
"""
|
2282
|
+
Type-safe molar concentration by mass quantity with expression capabilities.
|
2283
|
+
|
2284
|
+
Constructor Options:
|
2285
|
+
-------------------
|
2286
|
+
- MolarConcentrationByMass("variable_name") -> Create unknown molar concentration by mass
|
2287
|
+
- MolarConcentrationByMass(value, "unit", "variable_name") -> Create known molar concentration by mass
|
2288
|
+
|
2289
|
+
Examples:
|
2290
|
+
---------
|
2291
|
+
>>> unknown = MolarConcentrationByMass("pressure") # Unknown molar concentration by mass
|
2292
|
+
>>> known = MolarConcentrationByMass(100, "gram_mole_or_mole_per_gram", "inlet_pressure") # Known molar concentration by mass
|
2293
|
+
|
2294
|
+
Available units: "gram_mole_or_mole_per_gram", "gram_mole_or_mole_per_kilogram", "kilogram_mole_or_kmol_per_kilogram"
|
2295
|
+
"""
|
2296
|
+
__slots__ = ()
|
2297
|
+
_setter_class = ts.MolarConcentrationByMassSetter
|
2298
|
+
_expected_dimension = dim.MOLAR_CONCENTRATION_BY_MASS
|
2299
|
+
|
2300
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2301
|
+
|
2302
|
+
def set(self, value: int | float) -> ts.MolarConcentrationByMassSetter:
|
2303
|
+
"""
|
2304
|
+
Create a setter for this molar concentration by mass quantity.
|
2305
|
+
|
2306
|
+
Args:
|
2307
|
+
value: The numeric value to set
|
2308
|
+
|
2309
|
+
Returns:
|
2310
|
+
MolarConcentrationByMassSetter: A setter with unit properties like .meters, .inches, etc.
|
2311
|
+
|
2312
|
+
Example:
|
2313
|
+
>>> length = Length("beam_length")
|
2314
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2315
|
+
"""
|
2316
|
+
...
|
2317
|
+
|
2318
|
+
|
2319
|
+
class MolarFlowRate(TypedQuantity):
|
2320
|
+
"""
|
2321
|
+
Type-safe molar flow rate quantity with expression capabilities.
|
2322
|
+
|
2323
|
+
Constructor Options:
|
2324
|
+
-------------------
|
2325
|
+
- MolarFlowRate("variable_name") -> Create unknown molar flow rate
|
2326
|
+
- MolarFlowRate(value, "unit", "variable_name") -> Create known molar flow rate
|
2327
|
+
|
2328
|
+
Examples:
|
2329
|
+
---------
|
2330
|
+
>>> unknown = MolarFlowRate("pressure") # Unknown molar flow rate
|
2331
|
+
>>> known = MolarFlowRate(100, "gram_mole_per_day", "inlet_pressure") # Known molar flow rate
|
2332
|
+
|
2333
|
+
Available units: "gram_mole_per_day", "gram_mole_per_hour", "gram_mole_per_minute"
|
2334
|
+
"""
|
2335
|
+
__slots__ = ()
|
2336
|
+
_setter_class = ts.MolarFlowRateSetter
|
2337
|
+
_expected_dimension = dim.MOLAR_FLOW_RATE
|
2338
|
+
|
2339
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2340
|
+
|
2341
|
+
def set(self, value: int | float) -> ts.MolarFlowRateSetter:
|
2342
|
+
"""
|
2343
|
+
Create a setter for this molar flow rate quantity.
|
2344
|
+
|
2345
|
+
Args:
|
2346
|
+
value: The numeric value to set
|
2347
|
+
|
2348
|
+
Returns:
|
2349
|
+
MolarFlowRateSetter: A setter with unit properties like .meters, .inches, etc.
|
2350
|
+
|
2351
|
+
Example:
|
2352
|
+
>>> length = Length("beam_length")
|
2353
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2354
|
+
"""
|
2355
|
+
...
|
2356
|
+
|
2357
|
+
|
2358
|
+
class MolarFlux(TypedQuantity):
|
2359
|
+
"""
|
2360
|
+
Type-safe molar flux quantity with expression capabilities.
|
2361
|
+
|
2362
|
+
Constructor Options:
|
2363
|
+
-------------------
|
2364
|
+
- MolarFlux("variable_name") -> Create unknown molar flux
|
2365
|
+
- MolarFlux(value, "unit", "variable_name") -> Create known molar flux
|
2366
|
+
|
2367
|
+
Examples:
|
2368
|
+
---------
|
2369
|
+
>>> unknown = MolarFlux("pressure") # Unknown molar flux
|
2370
|
+
>>> known = MolarFlux(100, "kmol_per_square_meter_per_day", "inlet_pressure") # Known molar flux
|
2371
|
+
|
2372
|
+
Available units: "kmol_per_square_meter_per_day", "kmol_per_square_meter_per_hour", "kmol_per_square_meter_per_minute"
|
2373
|
+
"""
|
2374
|
+
__slots__ = ()
|
2375
|
+
_setter_class = ts.MolarFluxSetter
|
2376
|
+
_expected_dimension = dim.MOLAR_FLUX
|
2377
|
+
|
2378
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2379
|
+
|
2380
|
+
def set(self, value: int | float) -> ts.MolarFluxSetter:
|
2381
|
+
"""
|
2382
|
+
Create a setter for this molar flux quantity.
|
2383
|
+
|
2384
|
+
Args:
|
2385
|
+
value: The numeric value to set
|
2386
|
+
|
2387
|
+
Returns:
|
2388
|
+
MolarFluxSetter: A setter with unit properties like .meters, .inches, etc.
|
2389
|
+
|
2390
|
+
Example:
|
2391
|
+
>>> length = Length("beam_length")
|
2392
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2393
|
+
"""
|
2394
|
+
...
|
2395
|
+
|
2396
|
+
|
2397
|
+
class MolarHeatCapacity(TypedQuantity):
|
2398
|
+
"""
|
2399
|
+
Type-safe molar heat capacity quantity with expression capabilities.
|
2400
|
+
|
2401
|
+
Constructor Options:
|
2402
|
+
-------------------
|
2403
|
+
- MolarHeatCapacity("variable_name") -> Create unknown molar heat capacity
|
2404
|
+
- MolarHeatCapacity(value, "unit", "variable_name") -> Create known molar heat capacity
|
2405
|
+
|
2406
|
+
Examples:
|
2407
|
+
---------
|
2408
|
+
>>> unknown = MolarHeatCapacity("pressure") # Unknown molar heat capacity
|
2409
|
+
>>> known = MolarHeatCapacity(100, "btu_per_pound_mole_per_degree_fahrenheit_or_degree_rankine", "inlet_pressure") # Known molar heat capacity
|
2410
|
+
|
2411
|
+
Available units: "btu_per_pound_mole_per_degree_fahrenheit_or_degree_rankine", "calories_per_gram_mole_per_kelvin_or_degree_celsius", "joule_per_gram_mole_per_kelvin_or_degree_celsius"
|
2412
|
+
"""
|
2413
|
+
__slots__ = ()
|
2414
|
+
_setter_class = ts.MolarHeatCapacitySetter
|
2415
|
+
_expected_dimension = dim.MOLAR_HEAT_CAPACITY
|
2416
|
+
|
2417
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2418
|
+
|
2419
|
+
def set(self, value: int | float) -> ts.MolarHeatCapacitySetter:
|
2420
|
+
"""
|
2421
|
+
Create a setter for this molar heat capacity quantity.
|
2422
|
+
|
2423
|
+
Args:
|
2424
|
+
value: The numeric value to set
|
2425
|
+
|
2426
|
+
Returns:
|
2427
|
+
MolarHeatCapacitySetter: A setter with unit properties like .meters, .inches, etc.
|
2428
|
+
|
2429
|
+
Example:
|
2430
|
+
>>> length = Length("beam_length")
|
2431
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2432
|
+
"""
|
2433
|
+
...
|
2434
|
+
|
2435
|
+
|
2436
|
+
class MolarityOfI(TypedQuantity):
|
2437
|
+
"""
|
2438
|
+
Type-safe molarity of "i" quantity with expression capabilities.
|
2439
|
+
|
2440
|
+
Constructor Options:
|
2441
|
+
-------------------
|
2442
|
+
- MolarityOfI("variable_name") -> Create unknown molarity of "i"
|
2443
|
+
- MolarityOfI(value, "unit", "variable_name") -> Create known molarity of "i"
|
2444
|
+
|
2445
|
+
Examples:
|
2446
|
+
---------
|
2447
|
+
>>> unknown = MolarityOfI("pressure") # Unknown molarity of "i"
|
2448
|
+
>>> known = MolarityOfI(100, "gram_moles_of_i_per_cubic_meter", "inlet_pressure") # Known molarity of "i"
|
2449
|
+
|
2450
|
+
Available units: "gram_moles_of_i_per_cubic_meter", "gram_moles_of_i_per_liter", "kilogram_moles_of_i_per_cubic_meter"
|
2451
|
+
"""
|
2452
|
+
__slots__ = ()
|
2453
|
+
_setter_class = ts.MolarityOfISetter
|
2454
|
+
_expected_dimension = dim.MOLARITY_OF_I
|
2455
|
+
|
2456
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2457
|
+
|
2458
|
+
def set(self, value: int | float) -> ts.MolarityOfISetter:
|
2459
|
+
"""
|
2460
|
+
Create a setter for this molarity of "i" quantity.
|
2461
|
+
|
2462
|
+
Args:
|
2463
|
+
value: The numeric value to set
|
2464
|
+
|
2465
|
+
Returns:
|
2466
|
+
MolarityOfISetter: A setter with unit properties like .meters, .inches, etc.
|
2467
|
+
|
2468
|
+
Example:
|
2469
|
+
>>> length = Length("beam_length")
|
2470
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2471
|
+
"""
|
2472
|
+
...
|
2473
|
+
|
2474
|
+
|
2475
|
+
class MoleFractionOfI(TypedQuantity):
|
2476
|
+
"""
|
2477
|
+
Type-safe mole fraction of "i" quantity with expression capabilities.
|
2478
|
+
|
2479
|
+
Constructor Options:
|
2480
|
+
-------------------
|
2481
|
+
- MoleFractionOfI("variable_name") -> Create unknown mole fraction of "i"
|
2482
|
+
- MoleFractionOfI(value, "unit", "variable_name") -> Create known mole fraction of "i"
|
2483
|
+
|
2484
|
+
Examples:
|
2485
|
+
---------
|
2486
|
+
>>> unknown = MoleFractionOfI("pressure") # Unknown mole fraction of "i"
|
2487
|
+
>>> known = MoleFractionOfI(100, "gram_mole_of_i_per_gram_mole_total", "inlet_pressure") # Known mole fraction of "i"
|
2488
|
+
|
2489
|
+
Available units: "gram_mole_of_i_per_gram_mole_total", "kilogram_mole_of_i_per_kilogram_mole_total", "kilomole_of_i_per_kilomole_total"
|
2490
|
+
"""
|
2491
|
+
__slots__ = ()
|
2492
|
+
_setter_class = ts.MoleFractionOfISetter
|
2493
|
+
_expected_dimension = dim.MOLE_FRACTION_OF_I
|
2494
|
+
|
2495
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2496
|
+
|
2497
|
+
def set(self, value: int | float) -> ts.MoleFractionOfISetter:
|
2498
|
+
"""
|
2499
|
+
Create a setter for this mole fraction of "i" quantity.
|
2500
|
+
|
2501
|
+
Args:
|
2502
|
+
value: The numeric value to set
|
2503
|
+
|
2504
|
+
Returns:
|
2505
|
+
MoleFractionOfISetter: A setter with unit properties like .meters, .inches, etc.
|
2506
|
+
|
2507
|
+
Example:
|
2508
|
+
>>> length = Length("beam_length")
|
2509
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2510
|
+
"""
|
2511
|
+
...
|
2512
|
+
|
2513
|
+
|
2514
|
+
class MomentOfInertia(TypedQuantity):
|
2515
|
+
"""
|
2516
|
+
Type-safe moment of inertia quantity with expression capabilities.
|
2517
|
+
|
2518
|
+
Constructor Options:
|
2519
|
+
-------------------
|
2520
|
+
- MomentOfInertia("variable_name") -> Create unknown moment of inertia
|
2521
|
+
- MomentOfInertia(value, "unit", "variable_name") -> Create known moment of inertia
|
2522
|
+
|
2523
|
+
Examples:
|
2524
|
+
---------
|
2525
|
+
>>> unknown = MomentOfInertia("pressure") # Unknown moment of inertia
|
2526
|
+
>>> known = MomentOfInertia(100, "gram_force_centimeter_square_second", "inlet_pressure") # Known moment of inertia
|
2527
|
+
|
2528
|
+
Available units: "gram_force_centimeter_square_second", "gram_square_centimeter", "kilogram_force_centimeter_square_second"
|
2529
|
+
"""
|
2530
|
+
__slots__ = ()
|
2531
|
+
_setter_class = ts.MomentOfInertiaSetter
|
2532
|
+
_expected_dimension = dim.MOMENT_OF_INERTIA
|
2533
|
+
|
2534
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2535
|
+
|
2536
|
+
def set(self, value: int | float) -> ts.MomentOfInertiaSetter:
|
2537
|
+
"""
|
2538
|
+
Create a setter for this moment of inertia quantity.
|
2539
|
+
|
2540
|
+
Args:
|
2541
|
+
value: The numeric value to set
|
2542
|
+
|
2543
|
+
Returns:
|
2544
|
+
MomentOfInertiaSetter: A setter with unit properties like .meters, .inches, etc.
|
2545
|
+
|
2546
|
+
Example:
|
2547
|
+
>>> length = Length("beam_length")
|
2548
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2549
|
+
"""
|
2550
|
+
...
|
2551
|
+
|
2552
|
+
|
2553
|
+
class MomentumFlowRate(TypedQuantity):
|
2554
|
+
"""
|
2555
|
+
Type-safe momentum flow rate quantity with expression capabilities.
|
2556
|
+
|
2557
|
+
Constructor Options:
|
2558
|
+
-------------------
|
2559
|
+
- MomentumFlowRate("variable_name") -> Create unknown momentum flow rate
|
2560
|
+
- MomentumFlowRate(value, "unit", "variable_name") -> Create known momentum flow rate
|
2561
|
+
|
2562
|
+
Examples:
|
2563
|
+
---------
|
2564
|
+
>>> unknown = MomentumFlowRate("pressure") # Unknown momentum flow rate
|
2565
|
+
>>> known = MomentumFlowRate(100, "foot_pounds_per_square_hour", "inlet_pressure") # Known momentum flow rate
|
2566
|
+
|
2567
|
+
Available units: "foot_pounds_per_square_hour", "foot_pounds_per_square_minute", "foot_pounds_per_square_second"
|
2568
|
+
"""
|
2569
|
+
__slots__ = ()
|
2570
|
+
_setter_class = ts.MomentumFlowRateSetter
|
2571
|
+
_expected_dimension = dim.MOMENTUM_FLOW_RATE
|
2572
|
+
|
2573
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2574
|
+
|
2575
|
+
def set(self, value: int | float) -> ts.MomentumFlowRateSetter:
|
2576
|
+
"""
|
2577
|
+
Create a setter for this momentum flow rate quantity.
|
2578
|
+
|
2579
|
+
Args:
|
2580
|
+
value: The numeric value to set
|
2581
|
+
|
2582
|
+
Returns:
|
2583
|
+
MomentumFlowRateSetter: A setter with unit properties like .meters, .inches, etc.
|
2584
|
+
|
2585
|
+
Example:
|
2586
|
+
>>> length = Length("beam_length")
|
2587
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2588
|
+
"""
|
2589
|
+
...
|
2590
|
+
|
2591
|
+
|
2592
|
+
class MomentumFlux(TypedQuantity):
|
2593
|
+
"""
|
2594
|
+
Type-safe momentum flux quantity with expression capabilities.
|
2595
|
+
|
2596
|
+
Constructor Options:
|
2597
|
+
-------------------
|
2598
|
+
- MomentumFlux("variable_name") -> Create unknown momentum flux
|
2599
|
+
- MomentumFlux(value, "unit", "variable_name") -> Create known momentum flux
|
2600
|
+
|
2601
|
+
Examples:
|
2602
|
+
---------
|
2603
|
+
>>> unknown = MomentumFlux("pressure") # Unknown momentum flux
|
2604
|
+
>>> known = MomentumFlux(100, "dyne_per_square_centimeter", "inlet_pressure") # Known momentum flux
|
2605
|
+
|
2606
|
+
Available units: "dyne_per_square_centimeter", "gram_per_centimeter_per_square_second", "newton_per_square_meter"
|
2607
|
+
"""
|
2608
|
+
__slots__ = ()
|
2609
|
+
_setter_class = ts.MomentumFluxSetter
|
2610
|
+
_expected_dimension = dim.MOMENTUM_FLUX
|
2611
|
+
|
2612
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2613
|
+
|
2614
|
+
def set(self, value: int | float) -> ts.MomentumFluxSetter:
|
2615
|
+
"""
|
2616
|
+
Create a setter for this momentum flux quantity.
|
2617
|
+
|
2618
|
+
Args:
|
2619
|
+
value: The numeric value to set
|
2620
|
+
|
2621
|
+
Returns:
|
2622
|
+
MomentumFluxSetter: A setter with unit properties like .meters, .inches, etc.
|
2623
|
+
|
2624
|
+
Example:
|
2625
|
+
>>> length = Length("beam_length")
|
2626
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2627
|
+
"""
|
2628
|
+
...
|
2629
|
+
|
2630
|
+
|
2631
|
+
class NormalityOfSolution(TypedQuantity):
|
2632
|
+
"""
|
2633
|
+
Type-safe normality of solution quantity with expression capabilities.
|
2634
|
+
|
2635
|
+
Constructor Options:
|
2636
|
+
-------------------
|
2637
|
+
- NormalityOfSolution("variable_name") -> Create unknown normality of solution
|
2638
|
+
- NormalityOfSolution(value, "unit", "variable_name") -> Create known normality of solution
|
2639
|
+
|
2640
|
+
Examples:
|
2641
|
+
---------
|
2642
|
+
>>> unknown = NormalityOfSolution("pressure") # Unknown normality of solution
|
2643
|
+
>>> known = NormalityOfSolution(100, "gram_equivalents_per_cubic_meter", "inlet_pressure") # Known normality of solution
|
2644
|
+
|
2645
|
+
Available units: "gram_equivalents_per_cubic_meter", "gram_equivalents_per_liter", "pound_equivalents_per_cubic_foot"
|
2646
|
+
"""
|
2647
|
+
__slots__ = ()
|
2648
|
+
_setter_class = ts.NormalityOfSolutionSetter
|
2649
|
+
_expected_dimension = dim.NORMALITY_OF_SOLUTION
|
2650
|
+
|
2651
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2652
|
+
|
2653
|
+
def set(self, value: int | float) -> ts.NormalityOfSolutionSetter:
|
2654
|
+
"""
|
2655
|
+
Create a setter for this normality of solution quantity.
|
2656
|
+
|
2657
|
+
Args:
|
2658
|
+
value: The numeric value to set
|
2659
|
+
|
2660
|
+
Returns:
|
2661
|
+
NormalityOfSolutionSetter: A setter with unit properties like .meters, .inches, etc.
|
2662
|
+
|
2663
|
+
Example:
|
2664
|
+
>>> length = Length("beam_length")
|
2665
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2666
|
+
"""
|
2667
|
+
...
|
2668
|
+
|
2669
|
+
|
2670
|
+
class ParticleDensity(TypedQuantity):
|
2671
|
+
"""
|
2672
|
+
Type-safe particle density quantity with expression capabilities.
|
2673
|
+
|
2674
|
+
Constructor Options:
|
2675
|
+
-------------------
|
2676
|
+
- ParticleDensity("variable_name") -> Create unknown particle density
|
2677
|
+
- ParticleDensity(value, "unit", "variable_name") -> Create known particle density
|
2678
|
+
|
2679
|
+
Examples:
|
2680
|
+
---------
|
2681
|
+
>>> unknown = ParticleDensity("pressure") # Unknown particle density
|
2682
|
+
>>> known = ParticleDensity(100, "particles_per_cubic_centimeter", "inlet_pressure") # Known particle density
|
2683
|
+
|
2684
|
+
Available units: "particles_per_cubic_centimeter", "particles_per_cubic_foot", "particles_per_cubic_meter"
|
2685
|
+
"""
|
2686
|
+
__slots__ = ()
|
2687
|
+
_setter_class = ts.ParticleDensitySetter
|
2688
|
+
_expected_dimension = dim.PARTICLE_DENSITY
|
2689
|
+
|
2690
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2691
|
+
|
2692
|
+
def set(self, value: int | float) -> ts.ParticleDensitySetter:
|
2693
|
+
"""
|
2694
|
+
Create a setter for this particle density quantity.
|
2695
|
+
|
2696
|
+
Args:
|
2697
|
+
value: The numeric value to set
|
2698
|
+
|
2699
|
+
Returns:
|
2700
|
+
ParticleDensitySetter: A setter with unit properties like .meters, .inches, etc.
|
2701
|
+
|
2702
|
+
Example:
|
2703
|
+
>>> length = Length("beam_length")
|
2704
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2705
|
+
"""
|
2706
|
+
...
|
2707
|
+
|
2708
|
+
|
2709
|
+
class Percent(TypedQuantity):
|
2710
|
+
"""
|
2711
|
+
Type-safe percent quantity with expression capabilities.
|
2712
|
+
|
2713
|
+
Constructor Options:
|
2714
|
+
-------------------
|
2715
|
+
- Percent("variable_name") -> Create unknown percent
|
2716
|
+
- Percent(value, "unit", "variable_name") -> Create known percent
|
2717
|
+
|
2718
|
+
Examples:
|
2719
|
+
---------
|
2720
|
+
>>> unknown = Percent("pressure") # Unknown percent
|
2721
|
+
>>> known = Percent(100, "percent", "inlet_pressure") # Known percent
|
2722
|
+
|
2723
|
+
Available units: "percent", "per_mille", "basis_point"
|
2724
|
+
"""
|
2725
|
+
__slots__ = ()
|
2726
|
+
_setter_class = ts.PercentSetter
|
2727
|
+
_expected_dimension = dim.PERCENT
|
2728
|
+
|
2729
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2730
|
+
|
2731
|
+
def set(self, value: int | float) -> ts.PercentSetter:
|
2732
|
+
"""
|
2733
|
+
Create a setter for this percent quantity.
|
2734
|
+
|
2735
|
+
Args:
|
2736
|
+
value: The numeric value to set
|
2737
|
+
|
2738
|
+
Returns:
|
2739
|
+
PercentSetter: A setter with unit properties like .meters, .inches, etc.
|
2740
|
+
|
2741
|
+
Example:
|
2742
|
+
>>> length = Length("beam_length")
|
2743
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2744
|
+
"""
|
2745
|
+
...
|
2746
|
+
|
2747
|
+
|
2748
|
+
class Permeability(TypedQuantity):
|
2749
|
+
"""
|
2750
|
+
Type-safe permeability quantity with expression capabilities.
|
2751
|
+
|
2752
|
+
Constructor Options:
|
2753
|
+
-------------------
|
2754
|
+
- Permeability("variable_name") -> Create unknown permeability
|
2755
|
+
- Permeability(value, "unit", "variable_name") -> Create known permeability
|
2756
|
+
|
2757
|
+
Examples:
|
2758
|
+
---------
|
2759
|
+
>>> unknown = Permeability("pressure") # Unknown permeability
|
2760
|
+
>>> known = Permeability(100, "darcy", "inlet_pressure") # Known permeability
|
2761
|
+
|
2762
|
+
Available units: "darcy", "square_feet", "square_meters"
|
2763
|
+
"""
|
2764
|
+
__slots__ = ()
|
2765
|
+
_setter_class = ts.PermeabilitySetter
|
2766
|
+
_expected_dimension = dim.PERMEABILITY
|
2767
|
+
|
2768
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2769
|
+
|
2770
|
+
def set(self, value: int | float) -> ts.PermeabilitySetter:
|
2771
|
+
"""
|
2772
|
+
Create a setter for this permeability quantity.
|
2773
|
+
|
2774
|
+
Args:
|
2775
|
+
value: The numeric value to set
|
2776
|
+
|
2777
|
+
Returns:
|
2778
|
+
PermeabilitySetter: A setter with unit properties like .meters, .inches, etc.
|
2779
|
+
|
2780
|
+
Example:
|
2781
|
+
>>> length = Length("beam_length")
|
2782
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2783
|
+
"""
|
2784
|
+
...
|
2785
|
+
|
2786
|
+
|
2787
|
+
class PhotonEmissionRate(TypedQuantity):
|
2788
|
+
"""
|
2789
|
+
Type-safe photon emission rate quantity with expression capabilities.
|
2790
|
+
|
2791
|
+
Constructor Options:
|
2792
|
+
-------------------
|
2793
|
+
- PhotonEmissionRate("variable_name") -> Create unknown photon emission rate
|
2794
|
+
- PhotonEmissionRate(value, "unit", "variable_name") -> Create known photon emission rate
|
2795
|
+
|
2796
|
+
Examples:
|
2797
|
+
---------
|
2798
|
+
>>> unknown = PhotonEmissionRate("pressure") # Unknown photon emission rate
|
2799
|
+
>>> known = PhotonEmissionRate(100, "rayleigh", "inlet_pressure") # Known photon emission rate
|
2800
|
+
|
2801
|
+
Available units: "rayleigh", "reciprocal_square_meter_second"
|
2802
|
+
"""
|
2803
|
+
__slots__ = ()
|
2804
|
+
_setter_class = ts.PhotonEmissionRateSetter
|
2805
|
+
_expected_dimension = dim.PHOTON_EMISSION_RATE
|
2806
|
+
|
2807
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2808
|
+
|
2809
|
+
def set(self, value: int | float) -> ts.PhotonEmissionRateSetter:
|
2810
|
+
"""
|
2811
|
+
Create a setter for this photon emission rate quantity.
|
2812
|
+
|
2813
|
+
Args:
|
2814
|
+
value: The numeric value to set
|
2815
|
+
|
2816
|
+
Returns:
|
2817
|
+
PhotonEmissionRateSetter: A setter with unit properties like .meters, .inches, etc.
|
2818
|
+
|
2819
|
+
Example:
|
2820
|
+
>>> length = Length("beam_length")
|
2821
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2822
|
+
"""
|
2823
|
+
...
|
2824
|
+
|
2825
|
+
|
2826
|
+
class PowerPerUnitMass(TypedQuantity):
|
2827
|
+
"""
|
2828
|
+
Type-safe power per unit mass or specific power quantity with expression capabilities.
|
2829
|
+
|
2830
|
+
Constructor Options:
|
2831
|
+
-------------------
|
2832
|
+
- PowerPerUnitMass("variable_name") -> Create unknown power per unit mass or specific power
|
2833
|
+
- PowerPerUnitMass(value, "unit", "variable_name") -> Create known power per unit mass or specific power
|
2834
|
+
|
2835
|
+
Examples:
|
2836
|
+
---------
|
2837
|
+
>>> unknown = PowerPerUnitMass("pressure") # Unknown power per unit mass or specific power
|
2838
|
+
>>> known = PowerPerUnitMass(100, "british_thermal_unit_per_hour_per_pound_mass", "inlet_pressure") # Known power per unit mass or specific power
|
2839
|
+
|
2840
|
+
Available units: "british_thermal_unit_per_hour_per_pound_mass", "calorie_per_second_per_gram", "kilocalorie_per_hour_per_kilogram"
|
2841
|
+
"""
|
2842
|
+
__slots__ = ()
|
2843
|
+
_setter_class = ts.PowerPerUnitMassSetter
|
2844
|
+
_expected_dimension = dim.POWER_PER_UNIT_MASS
|
2845
|
+
|
2846
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2847
|
+
|
2848
|
+
def set(self, value: int | float) -> ts.PowerPerUnitMassSetter:
|
2849
|
+
"""
|
2850
|
+
Create a setter for this power per unit mass or specific power quantity.
|
2851
|
+
|
2852
|
+
Args:
|
2853
|
+
value: The numeric value to set
|
2854
|
+
|
2855
|
+
Returns:
|
2856
|
+
PowerPerUnitMassSetter: A setter with unit properties like .meters, .inches, etc.
|
2857
|
+
|
2858
|
+
Example:
|
2859
|
+
>>> length = Length("beam_length")
|
2860
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2861
|
+
"""
|
2862
|
+
...
|
2863
|
+
|
2864
|
+
|
2865
|
+
class PowerPerUnitVolume(TypedQuantity):
|
2866
|
+
"""
|
2867
|
+
Type-safe power per unit volume or power density quantity with expression capabilities.
|
2868
|
+
|
2869
|
+
Constructor Options:
|
2870
|
+
-------------------
|
2871
|
+
- PowerPerUnitVolume("variable_name") -> Create unknown power per unit volume or power density
|
2872
|
+
- PowerPerUnitVolume(value, "unit", "variable_name") -> Create known power per unit volume or power density
|
2873
|
+
|
2874
|
+
Examples:
|
2875
|
+
---------
|
2876
|
+
>>> unknown = PowerPerUnitVolume("pressure") # Unknown power per unit volume or power density
|
2877
|
+
>>> known = PowerPerUnitVolume(100, "british_thermal_unit_per_hour_per_cubic_foot", "inlet_pressure") # Known power per unit volume or power density
|
2878
|
+
|
2879
|
+
Available units: "british_thermal_unit_per_hour_per_cubic_foot", "calorie_per_second_per_cubic_centimeter", "chu_per_hour_per_cubic_foot"
|
2880
|
+
"""
|
2881
|
+
__slots__ = ()
|
2882
|
+
_setter_class = ts.PowerPerUnitVolumeSetter
|
2883
|
+
_expected_dimension = dim.POWER_PER_UNIT_VOLUME
|
2884
|
+
|
2885
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2886
|
+
|
2887
|
+
def set(self, value: int | float) -> ts.PowerPerUnitVolumeSetter:
|
2888
|
+
"""
|
2889
|
+
Create a setter for this power per unit volume or power density quantity.
|
2890
|
+
|
2891
|
+
Args:
|
2892
|
+
value: The numeric value to set
|
2893
|
+
|
2894
|
+
Returns:
|
2895
|
+
PowerPerUnitVolumeSetter: A setter with unit properties like .meters, .inches, etc.
|
2896
|
+
|
2897
|
+
Example:
|
2898
|
+
>>> length = Length("beam_length")
|
2899
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2900
|
+
"""
|
2901
|
+
...
|
2902
|
+
|
2903
|
+
|
2904
|
+
class PowerThermalDuty(TypedQuantity):
|
2905
|
+
"""
|
2906
|
+
Type-safe power, thermal duty quantity with expression capabilities.
|
2907
|
+
|
2908
|
+
Constructor Options:
|
2909
|
+
-------------------
|
2910
|
+
- PowerThermalDuty("variable_name") -> Create unknown power, thermal duty
|
2911
|
+
- PowerThermalDuty(value, "unit", "variable_name") -> Create known power, thermal duty
|
2912
|
+
|
2913
|
+
Examples:
|
2914
|
+
---------
|
2915
|
+
>>> unknown = PowerThermalDuty("pressure") # Unknown power, thermal duty
|
2916
|
+
>>> known = PowerThermalDuty(100, "abwatt_emu_of_power", "inlet_pressure") # Known power, thermal duty
|
2917
|
+
|
2918
|
+
Available units: "abwatt_emu_of_power", "boiler_horsepower", "british_thermal_unit_mean"
|
2919
|
+
"""
|
2920
|
+
__slots__ = ()
|
2921
|
+
_setter_class = ts.PowerThermalDutySetter
|
2922
|
+
_expected_dimension = dim.POWER_THERMAL_DUTY
|
2923
|
+
|
2924
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2925
|
+
|
2926
|
+
def set(self, value: int | float) -> ts.PowerThermalDutySetter:
|
2927
|
+
"""
|
2928
|
+
Create a setter for this power, thermal duty quantity.
|
2929
|
+
|
2930
|
+
Args:
|
2931
|
+
value: The numeric value to set
|
2932
|
+
|
2933
|
+
Returns:
|
2934
|
+
PowerThermalDutySetter: A setter with unit properties like .meters, .inches, etc.
|
2935
|
+
|
2936
|
+
Example:
|
2937
|
+
>>> length = Length("beam_length")
|
2938
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2939
|
+
"""
|
2940
|
+
...
|
2941
|
+
|
2942
|
+
|
2943
|
+
class Pressure(TypedQuantity):
|
2944
|
+
"""
|
2945
|
+
Type-safe pressure quantity with expression capabilities.
|
2946
|
+
|
2947
|
+
Constructor Options:
|
2948
|
+
-------------------
|
2949
|
+
- Pressure("variable_name") -> Create unknown pressure
|
2950
|
+
- Pressure(value, "unit", "variable_name") -> Create known pressure
|
2951
|
+
|
2952
|
+
Examples:
|
2953
|
+
---------
|
2954
|
+
>>> unknown = Pressure("pressure") # Unknown pressure
|
2955
|
+
>>> known = Pressure(100, "atmosphere_standard", "inlet_pressure") # Known pressure
|
2956
|
+
|
2957
|
+
Available units: "atmosphere_standard", "bar", "barye"
|
2958
|
+
"""
|
2959
|
+
__slots__ = ()
|
2960
|
+
_setter_class = ts.PressureSetter
|
2961
|
+
_expected_dimension = dim.PRESSURE
|
2962
|
+
|
2963
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
2964
|
+
|
2965
|
+
def set(self, value: int | float) -> ts.PressureSetter:
|
2966
|
+
"""
|
2967
|
+
Create a setter for this pressure quantity.
|
2968
|
+
|
2969
|
+
Args:
|
2970
|
+
value: The numeric value to set
|
2971
|
+
|
2972
|
+
Returns:
|
2973
|
+
PressureSetter: A setter with unit properties like .meters, .inches, etc.
|
2974
|
+
|
2975
|
+
Example:
|
2976
|
+
>>> length = Length("beam_length")
|
2977
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
2978
|
+
"""
|
2979
|
+
...
|
2980
|
+
|
2981
|
+
|
2982
|
+
class RadiationDoseEquivalent(TypedQuantity):
|
2983
|
+
"""
|
2984
|
+
Type-safe radiation dose equivalent quantity with expression capabilities.
|
2985
|
+
|
2986
|
+
Constructor Options:
|
2987
|
+
-------------------
|
2988
|
+
- RadiationDoseEquivalent("variable_name") -> Create unknown radiation dose equivalent
|
2989
|
+
- RadiationDoseEquivalent(value, "unit", "variable_name") -> Create known radiation dose equivalent
|
2990
|
+
|
2991
|
+
Examples:
|
2992
|
+
---------
|
2993
|
+
>>> unknown = RadiationDoseEquivalent("pressure") # Unknown radiation dose equivalent
|
2994
|
+
>>> known = RadiationDoseEquivalent(100, "rem", "inlet_pressure") # Known radiation dose equivalent
|
2995
|
+
|
2996
|
+
Available units: "rem", "sievert", "millisievert"
|
2997
|
+
"""
|
2998
|
+
__slots__ = ()
|
2999
|
+
_setter_class = ts.RadiationDoseEquivalentSetter
|
3000
|
+
_expected_dimension = dim.RADIATION_DOSE_EQUIVALENT
|
3001
|
+
|
3002
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3003
|
+
|
3004
|
+
def set(self, value: int | float) -> ts.RadiationDoseEquivalentSetter:
|
3005
|
+
"""
|
3006
|
+
Create a setter for this radiation dose equivalent quantity.
|
3007
|
+
|
3008
|
+
Args:
|
3009
|
+
value: The numeric value to set
|
3010
|
+
|
3011
|
+
Returns:
|
3012
|
+
RadiationDoseEquivalentSetter: A setter with unit properties like .meters, .inches, etc.
|
3013
|
+
|
3014
|
+
Example:
|
3015
|
+
>>> length = Length("beam_length")
|
3016
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3017
|
+
"""
|
3018
|
+
...
|
3019
|
+
|
3020
|
+
|
3021
|
+
class RadiationExposure(TypedQuantity):
|
3022
|
+
"""
|
3023
|
+
Type-safe radiation exposure quantity with expression capabilities.
|
3024
|
+
|
3025
|
+
Constructor Options:
|
3026
|
+
-------------------
|
3027
|
+
- RadiationExposure("variable_name") -> Create unknown radiation exposure
|
3028
|
+
- RadiationExposure(value, "unit", "variable_name") -> Create known radiation exposure
|
3029
|
+
|
3030
|
+
Examples:
|
3031
|
+
---------
|
3032
|
+
>>> unknown = RadiationExposure("pressure") # Unknown radiation exposure
|
3033
|
+
>>> known = RadiationExposure(100, "coulomb_per_kilogram", "inlet_pressure") # Known radiation exposure
|
3034
|
+
|
3035
|
+
Available units: "coulomb_per_kilogram", "d_unit", "pastille_dose_b_unit"
|
3036
|
+
"""
|
3037
|
+
__slots__ = ()
|
3038
|
+
_setter_class = ts.RadiationExposureSetter
|
3039
|
+
_expected_dimension = dim.RADIATION_EXPOSURE
|
3040
|
+
|
3041
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3042
|
+
|
3043
|
+
def set(self, value: int | float) -> ts.RadiationExposureSetter:
|
3044
|
+
"""
|
3045
|
+
Create a setter for this radiation exposure quantity.
|
3046
|
+
|
3047
|
+
Args:
|
3048
|
+
value: The numeric value to set
|
3049
|
+
|
3050
|
+
Returns:
|
3051
|
+
RadiationExposureSetter: A setter with unit properties like .meters, .inches, etc.
|
3052
|
+
|
3053
|
+
Example:
|
3054
|
+
>>> length = Length("beam_length")
|
3055
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3056
|
+
"""
|
3057
|
+
...
|
3058
|
+
|
3059
|
+
|
3060
|
+
class Radioactivity(TypedQuantity):
|
3061
|
+
"""
|
3062
|
+
Type-safe radioactivity quantity with expression capabilities.
|
3063
|
+
|
3064
|
+
Constructor Options:
|
3065
|
+
-------------------
|
3066
|
+
- Radioactivity("variable_name") -> Create unknown radioactivity
|
3067
|
+
- Radioactivity(value, "unit", "variable_name") -> Create known radioactivity
|
3068
|
+
|
3069
|
+
Examples:
|
3070
|
+
---------
|
3071
|
+
>>> unknown = Radioactivity("pressure") # Unknown radioactivity
|
3072
|
+
>>> known = Radioactivity(100, "becquerel", "inlet_pressure") # Known radioactivity
|
3073
|
+
|
3074
|
+
Available units: "becquerel", "curie", "mache_unit"
|
3075
|
+
"""
|
3076
|
+
__slots__ = ()
|
3077
|
+
_setter_class = ts.RadioactivitySetter
|
3078
|
+
_expected_dimension = dim.RADIOACTIVITY
|
3079
|
+
|
3080
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3081
|
+
|
3082
|
+
def set(self, value: int | float) -> ts.RadioactivitySetter:
|
3083
|
+
"""
|
3084
|
+
Create a setter for this radioactivity quantity.
|
3085
|
+
|
3086
|
+
Args:
|
3087
|
+
value: The numeric value to set
|
3088
|
+
|
3089
|
+
Returns:
|
3090
|
+
RadioactivitySetter: A setter with unit properties like .meters, .inches, etc.
|
3091
|
+
|
3092
|
+
Example:
|
3093
|
+
>>> length = Length("beam_length")
|
3094
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3095
|
+
"""
|
3096
|
+
...
|
3097
|
+
|
3098
|
+
|
3099
|
+
class SecondMomentOfArea(TypedQuantity):
|
3100
|
+
"""
|
3101
|
+
Type-safe second moment of area quantity with expression capabilities.
|
3102
|
+
|
3103
|
+
Constructor Options:
|
3104
|
+
-------------------
|
3105
|
+
- SecondMomentOfArea("variable_name") -> Create unknown second moment of area
|
3106
|
+
- SecondMomentOfArea(value, "unit", "variable_name") -> Create known second moment of area
|
3107
|
+
|
3108
|
+
Examples:
|
3109
|
+
---------
|
3110
|
+
>>> unknown = SecondMomentOfArea("pressure") # Unknown second moment of area
|
3111
|
+
>>> known = SecondMomentOfArea(100, "inch_quadrupled", "inlet_pressure") # Known second moment of area
|
3112
|
+
|
3113
|
+
Available units: "inch_quadrupled", "centimeter_quadrupled", "foot_quadrupled"
|
3114
|
+
"""
|
3115
|
+
__slots__ = ()
|
3116
|
+
_setter_class = ts.SecondMomentOfAreaSetter
|
3117
|
+
_expected_dimension = dim.SECOND_MOMENT_OF_AREA
|
3118
|
+
|
3119
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3120
|
+
|
3121
|
+
def set(self, value: int | float) -> ts.SecondMomentOfAreaSetter:
|
3122
|
+
"""
|
3123
|
+
Create a setter for this second moment of area quantity.
|
3124
|
+
|
3125
|
+
Args:
|
3126
|
+
value: The numeric value to set
|
3127
|
+
|
3128
|
+
Returns:
|
3129
|
+
SecondMomentOfAreaSetter: A setter with unit properties like .meters, .inches, etc.
|
3130
|
+
|
3131
|
+
Example:
|
3132
|
+
>>> length = Length("beam_length")
|
3133
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3134
|
+
"""
|
3135
|
+
...
|
3136
|
+
|
3137
|
+
|
3138
|
+
class SecondRadiationConstantPlanck(TypedQuantity):
|
3139
|
+
"""
|
3140
|
+
Type-safe second radiation constant (planck) quantity with expression capabilities.
|
3141
|
+
|
3142
|
+
Constructor Options:
|
3143
|
+
-------------------
|
3144
|
+
- SecondRadiationConstantPlanck("variable_name") -> Create unknown second radiation constant (planck)
|
3145
|
+
- SecondRadiationConstantPlanck(value, "unit", "variable_name") -> Create known second radiation constant (planck)
|
3146
|
+
|
3147
|
+
Examples:
|
3148
|
+
---------
|
3149
|
+
>>> unknown = SecondRadiationConstantPlanck("pressure") # Unknown second radiation constant (planck)
|
3150
|
+
>>> known = SecondRadiationConstantPlanck(100, "meter_kelvin", "inlet_pressure") # Known second radiation constant (planck)
|
3151
|
+
|
3152
|
+
Available units: "meter_kelvin"
|
3153
|
+
"""
|
3154
|
+
__slots__ = ()
|
3155
|
+
_setter_class = ts.SecondRadiationConstantPlanckSetter
|
3156
|
+
_expected_dimension = dim.SECOND_RADIATION_CONSTANT_PLANCK
|
3157
|
+
|
3158
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3159
|
+
|
3160
|
+
def set(self, value: int | float) -> ts.SecondRadiationConstantPlanckSetter:
|
3161
|
+
"""
|
3162
|
+
Create a setter for this second radiation constant (planck) quantity.
|
3163
|
+
|
3164
|
+
Args:
|
3165
|
+
value: The numeric value to set
|
3166
|
+
|
3167
|
+
Returns:
|
3168
|
+
SecondRadiationConstantPlanckSetter: A setter with unit properties like .meters, .inches, etc.
|
3169
|
+
|
3170
|
+
Example:
|
3171
|
+
>>> length = Length("beam_length")
|
3172
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3173
|
+
"""
|
3174
|
+
...
|
3175
|
+
|
3176
|
+
|
3177
|
+
class SpecificEnthalpy(TypedQuantity):
|
3178
|
+
"""
|
3179
|
+
Type-safe specific enthalpy quantity with expression capabilities.
|
3180
|
+
|
3181
|
+
Constructor Options:
|
3182
|
+
-------------------
|
3183
|
+
- SpecificEnthalpy("variable_name") -> Create unknown specific enthalpy
|
3184
|
+
- SpecificEnthalpy(value, "unit", "variable_name") -> Create known specific enthalpy
|
3185
|
+
|
3186
|
+
Examples:
|
3187
|
+
---------
|
3188
|
+
>>> unknown = SpecificEnthalpy("pressure") # Unknown specific enthalpy
|
3189
|
+
>>> known = SpecificEnthalpy(100, "british_thermal_unit_mean", "inlet_pressure") # Known specific enthalpy
|
3190
|
+
|
3191
|
+
Available units: "british_thermal_unit_mean", "british_thermal_unit_per_pound", "calorie_per_gram"
|
3192
|
+
"""
|
3193
|
+
__slots__ = ()
|
3194
|
+
_setter_class = ts.SpecificEnthalpySetter
|
3195
|
+
_expected_dimension = dim.SPECIFIC_ENTHALPY
|
3196
|
+
|
3197
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3198
|
+
|
3199
|
+
def set(self, value: int | float) -> ts.SpecificEnthalpySetter:
|
3200
|
+
"""
|
3201
|
+
Create a setter for this specific enthalpy quantity.
|
3202
|
+
|
3203
|
+
Args:
|
3204
|
+
value: The numeric value to set
|
3205
|
+
|
3206
|
+
Returns:
|
3207
|
+
SpecificEnthalpySetter: A setter with unit properties like .meters, .inches, etc.
|
3208
|
+
|
3209
|
+
Example:
|
3210
|
+
>>> length = Length("beam_length")
|
3211
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3212
|
+
"""
|
3213
|
+
...
|
3214
|
+
|
3215
|
+
|
3216
|
+
class SpecificGravity(TypedQuantity):
|
3217
|
+
"""
|
3218
|
+
Type-safe specific gravity quantity with expression capabilities.
|
3219
|
+
|
3220
|
+
Constructor Options:
|
3221
|
+
-------------------
|
3222
|
+
- SpecificGravity("variable_name") -> Create unknown specific gravity
|
3223
|
+
- SpecificGravity(value, "unit", "variable_name") -> Create known specific gravity
|
3224
|
+
|
3225
|
+
Examples:
|
3226
|
+
---------
|
3227
|
+
>>> unknown = SpecificGravity("pressure") # Unknown specific gravity
|
3228
|
+
>>> known = SpecificGravity(100, "dimensionless", "inlet_pressure") # Known specific gravity
|
3229
|
+
|
3230
|
+
Available units: "dimensionless"
|
3231
|
+
"""
|
3232
|
+
__slots__ = ()
|
3233
|
+
_setter_class = ts.SpecificGravitySetter
|
3234
|
+
_expected_dimension = dim.SPECIFIC_GRAVITY
|
3235
|
+
|
3236
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3237
|
+
|
3238
|
+
def set(self, value: int | float) -> ts.SpecificGravitySetter:
|
3239
|
+
"""
|
3240
|
+
Create a setter for this specific gravity quantity.
|
3241
|
+
|
3242
|
+
Args:
|
3243
|
+
value: The numeric value to set
|
3244
|
+
|
3245
|
+
Returns:
|
3246
|
+
SpecificGravitySetter: A setter with unit properties like .meters, .inches, etc.
|
3247
|
+
|
3248
|
+
Example:
|
3249
|
+
>>> length = Length("beam_length")
|
3250
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3251
|
+
"""
|
3252
|
+
...
|
3253
|
+
|
3254
|
+
|
3255
|
+
class SpecificHeatCapacityConstantPressure(TypedQuantity):
|
3256
|
+
"""
|
3257
|
+
Type-safe specific heat capacity (constant pressure) quantity with expression capabilities.
|
3258
|
+
|
3259
|
+
Constructor Options:
|
3260
|
+
-------------------
|
3261
|
+
- SpecificHeatCapacityConstantPressure("variable_name") -> Create unknown specific heat capacity (constant pressure)
|
3262
|
+
- SpecificHeatCapacityConstantPressure(value, "unit", "variable_name") -> Create known specific heat capacity (constant pressure)
|
3263
|
+
|
3264
|
+
Examples:
|
3265
|
+
---------
|
3266
|
+
>>> unknown = SpecificHeatCapacityConstantPressure("pressure") # Unknown specific heat capacity (constant pressure)
|
3267
|
+
>>> known = SpecificHeatCapacityConstantPressure(100, "btu_per_pound_per_degree_fahrenheit_or_degree_rankine", "inlet_pressure") # Known specific heat capacity (constant pressure)
|
3268
|
+
|
3269
|
+
Available units: "btu_per_pound_per_degree_fahrenheit_or_degree_rankine", "calories_per_gram_per_kelvin_or_degree_celsius", "joules_per_kilogram_per_kelvin_or_degree_celsius"
|
3270
|
+
"""
|
3271
|
+
__slots__ = ()
|
3272
|
+
_setter_class = ts.SpecificHeatCapacityConstantPressureSetter
|
3273
|
+
_expected_dimension = dim.SPECIFIC_HEAT_CAPACITY_CONSTANT_PRESSURE
|
3274
|
+
|
3275
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3276
|
+
|
3277
|
+
def set(self, value: int | float) -> ts.SpecificHeatCapacityConstantPressureSetter:
|
3278
|
+
"""
|
3279
|
+
Create a setter for this specific heat capacity (constant pressure) quantity.
|
3280
|
+
|
3281
|
+
Args:
|
3282
|
+
value: The numeric value to set
|
3283
|
+
|
3284
|
+
Returns:
|
3285
|
+
SpecificHeatCapacityConstantPressureSetter: A setter with unit properties like .meters, .inches, etc.
|
3286
|
+
|
3287
|
+
Example:
|
3288
|
+
>>> length = Length("beam_length")
|
3289
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3290
|
+
"""
|
3291
|
+
...
|
3292
|
+
|
3293
|
+
|
3294
|
+
class SpecificLength(TypedQuantity):
|
3295
|
+
"""
|
3296
|
+
Type-safe specific length quantity with expression capabilities.
|
3297
|
+
|
3298
|
+
Constructor Options:
|
3299
|
+
-------------------
|
3300
|
+
- SpecificLength("variable_name") -> Create unknown specific length
|
3301
|
+
- SpecificLength(value, "unit", "variable_name") -> Create known specific length
|
3302
|
+
|
3303
|
+
Examples:
|
3304
|
+
---------
|
3305
|
+
>>> unknown = SpecificLength("pressure") # Unknown specific length
|
3306
|
+
>>> known = SpecificLength(100, "centimeter_per_gram", "inlet_pressure") # Known specific length
|
3307
|
+
|
3308
|
+
Available units: "centimeter_per_gram", "cotton_count", "ft_per_pound"
|
3309
|
+
"""
|
3310
|
+
__slots__ = ()
|
3311
|
+
_setter_class = ts.SpecificLengthSetter
|
3312
|
+
_expected_dimension = dim.SPECIFIC_LENGTH
|
3313
|
+
|
3314
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3315
|
+
|
3316
|
+
def set(self, value: int | float) -> ts.SpecificLengthSetter:
|
3317
|
+
"""
|
3318
|
+
Create a setter for this specific length quantity.
|
3319
|
+
|
3320
|
+
Args:
|
3321
|
+
value: The numeric value to set
|
3322
|
+
|
3323
|
+
Returns:
|
3324
|
+
SpecificLengthSetter: A setter with unit properties like .meters, .inches, etc.
|
3325
|
+
|
3326
|
+
Example:
|
3327
|
+
>>> length = Length("beam_length")
|
3328
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3329
|
+
"""
|
3330
|
+
...
|
3331
|
+
|
3332
|
+
|
3333
|
+
class SpecificSurface(TypedQuantity):
|
3334
|
+
"""
|
3335
|
+
Type-safe specific surface quantity with expression capabilities.
|
3336
|
+
|
3337
|
+
Constructor Options:
|
3338
|
+
-------------------
|
3339
|
+
- SpecificSurface("variable_name") -> Create unknown specific surface
|
3340
|
+
- SpecificSurface(value, "unit", "variable_name") -> Create known specific surface
|
3341
|
+
|
3342
|
+
Examples:
|
3343
|
+
---------
|
3344
|
+
>>> unknown = SpecificSurface("pressure") # Unknown specific surface
|
3345
|
+
>>> known = SpecificSurface(100, "square_centimeter_per_gram", "inlet_pressure") # Known specific surface
|
3346
|
+
|
3347
|
+
Available units: "square_centimeter_per_gram", "square_foot_per_kilogram", "square_foot_per_pound"
|
3348
|
+
"""
|
3349
|
+
__slots__ = ()
|
3350
|
+
_setter_class = ts.SpecificSurfaceSetter
|
3351
|
+
_expected_dimension = dim.SPECIFIC_SURFACE
|
3352
|
+
|
3353
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3354
|
+
|
3355
|
+
def set(self, value: int | float) -> ts.SpecificSurfaceSetter:
|
3356
|
+
"""
|
3357
|
+
Create a setter for this specific surface quantity.
|
3358
|
+
|
3359
|
+
Args:
|
3360
|
+
value: The numeric value to set
|
3361
|
+
|
3362
|
+
Returns:
|
3363
|
+
SpecificSurfaceSetter: A setter with unit properties like .meters, .inches, etc.
|
3364
|
+
|
3365
|
+
Example:
|
3366
|
+
>>> length = Length("beam_length")
|
3367
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3368
|
+
"""
|
3369
|
+
...
|
3370
|
+
|
3371
|
+
|
3372
|
+
class SpecificVolume(TypedQuantity):
|
3373
|
+
"""
|
3374
|
+
Type-safe specific volume quantity with expression capabilities.
|
3375
|
+
|
3376
|
+
Constructor Options:
|
3377
|
+
-------------------
|
3378
|
+
- SpecificVolume("variable_name") -> Create unknown specific volume
|
3379
|
+
- SpecificVolume(value, "unit", "variable_name") -> Create known specific volume
|
3380
|
+
|
3381
|
+
Examples:
|
3382
|
+
---------
|
3383
|
+
>>> unknown = SpecificVolume("pressure") # Unknown specific volume
|
3384
|
+
>>> known = SpecificVolume(100, "cubic_centimeter_per_gram", "inlet_pressure") # Known specific volume
|
3385
|
+
|
3386
|
+
Available units: "cubic_centimeter_per_gram", "cubic_foot_per_kilogram", "cubic_foot_per_pound"
|
3387
|
+
"""
|
3388
|
+
__slots__ = ()
|
3389
|
+
_setter_class = ts.SpecificVolumeSetter
|
3390
|
+
_expected_dimension = dim.SPECIFIC_VOLUME
|
3391
|
+
|
3392
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3393
|
+
|
3394
|
+
def set(self, value: int | float) -> ts.SpecificVolumeSetter:
|
3395
|
+
"""
|
3396
|
+
Create a setter for this specific volume quantity.
|
3397
|
+
|
3398
|
+
Args:
|
3399
|
+
value: The numeric value to set
|
3400
|
+
|
3401
|
+
Returns:
|
3402
|
+
SpecificVolumeSetter: A setter with unit properties like .meters, .inches, etc.
|
3403
|
+
|
3404
|
+
Example:
|
3405
|
+
>>> length = Length("beam_length")
|
3406
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3407
|
+
"""
|
3408
|
+
...
|
3409
|
+
|
3410
|
+
|
3411
|
+
class Stress(TypedQuantity):
|
3412
|
+
"""
|
3413
|
+
Type-safe stress quantity with expression capabilities.
|
3414
|
+
|
3415
|
+
Constructor Options:
|
3416
|
+
-------------------
|
3417
|
+
- Stress("variable_name") -> Create unknown stress
|
3418
|
+
- Stress(value, "unit", "variable_name") -> Create known stress
|
3419
|
+
|
3420
|
+
Examples:
|
3421
|
+
---------
|
3422
|
+
>>> unknown = Stress("pressure") # Unknown stress
|
3423
|
+
>>> known = Stress(100, "dyne_per_square_centimeter", "inlet_pressure") # Known stress
|
3424
|
+
|
3425
|
+
Available units: "dyne_per_square_centimeter", "gigapascal", "hectopascal"
|
3426
|
+
"""
|
3427
|
+
__slots__ = ()
|
3428
|
+
_setter_class = ts.StressSetter
|
3429
|
+
_expected_dimension = dim.STRESS
|
3430
|
+
|
3431
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3432
|
+
|
3433
|
+
def set(self, value: int | float) -> ts.StressSetter:
|
3434
|
+
"""
|
3435
|
+
Create a setter for this stress quantity.
|
3436
|
+
|
3437
|
+
Args:
|
3438
|
+
value: The numeric value to set
|
3439
|
+
|
3440
|
+
Returns:
|
3441
|
+
StressSetter: A setter with unit properties like .meters, .inches, etc.
|
3442
|
+
|
3443
|
+
Example:
|
3444
|
+
>>> length = Length("beam_length")
|
3445
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3446
|
+
"""
|
3447
|
+
...
|
3448
|
+
|
3449
|
+
|
3450
|
+
class SurfaceMassDensity(TypedQuantity):
|
3451
|
+
"""
|
3452
|
+
Type-safe surface mass density quantity with expression capabilities.
|
3453
|
+
|
3454
|
+
Constructor Options:
|
3455
|
+
-------------------
|
3456
|
+
- SurfaceMassDensity("variable_name") -> Create unknown surface mass density
|
3457
|
+
- SurfaceMassDensity(value, "unit", "variable_name") -> Create known surface mass density
|
3458
|
+
|
3459
|
+
Examples:
|
3460
|
+
---------
|
3461
|
+
>>> unknown = SurfaceMassDensity("pressure") # Unknown surface mass density
|
3462
|
+
>>> known = SurfaceMassDensity(100, "gram_per_square_centimeter", "inlet_pressure") # Known surface mass density
|
3463
|
+
|
3464
|
+
Available units: "gram_per_square_centimeter", "gram_per_square_meter", "kilogram_per_square_meter"
|
3465
|
+
"""
|
3466
|
+
__slots__ = ()
|
3467
|
+
_setter_class = ts.SurfaceMassDensitySetter
|
3468
|
+
_expected_dimension = dim.SURFACE_MASS_DENSITY
|
3469
|
+
|
3470
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3471
|
+
|
3472
|
+
def set(self, value: int | float) -> ts.SurfaceMassDensitySetter:
|
3473
|
+
"""
|
3474
|
+
Create a setter for this surface mass density quantity.
|
3475
|
+
|
3476
|
+
Args:
|
3477
|
+
value: The numeric value to set
|
3478
|
+
|
3479
|
+
Returns:
|
3480
|
+
SurfaceMassDensitySetter: A setter with unit properties like .meters, .inches, etc.
|
3481
|
+
|
3482
|
+
Example:
|
3483
|
+
>>> length = Length("beam_length")
|
3484
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3485
|
+
"""
|
3486
|
+
...
|
3487
|
+
|
3488
|
+
|
3489
|
+
class SurfaceTension(TypedQuantity):
|
3490
|
+
"""
|
3491
|
+
Type-safe surface tension quantity with expression capabilities.
|
3492
|
+
|
3493
|
+
Constructor Options:
|
3494
|
+
-------------------
|
3495
|
+
- SurfaceTension("variable_name") -> Create unknown surface tension
|
3496
|
+
- SurfaceTension(value, "unit", "variable_name") -> Create known surface tension
|
3497
|
+
|
3498
|
+
Examples:
|
3499
|
+
---------
|
3500
|
+
>>> unknown = SurfaceTension("pressure") # Unknown surface tension
|
3501
|
+
>>> known = SurfaceTension(100, "dyne_per_centimeter", "inlet_pressure") # Known surface tension
|
3502
|
+
|
3503
|
+
Available units: "dyne_per_centimeter", "gram_force_per_centimeter", "newton_per_meter"
|
3504
|
+
"""
|
3505
|
+
__slots__ = ()
|
3506
|
+
_setter_class = ts.SurfaceTensionSetter
|
3507
|
+
_expected_dimension = dim.SURFACE_TENSION
|
3508
|
+
|
3509
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3510
|
+
|
3511
|
+
def set(self, value: int | float) -> ts.SurfaceTensionSetter:
|
3512
|
+
"""
|
3513
|
+
Create a setter for this surface tension quantity.
|
3514
|
+
|
3515
|
+
Args:
|
3516
|
+
value: The numeric value to set
|
3517
|
+
|
3518
|
+
Returns:
|
3519
|
+
SurfaceTensionSetter: A setter with unit properties like .meters, .inches, etc.
|
3520
|
+
|
3521
|
+
Example:
|
3522
|
+
>>> length = Length("beam_length")
|
3523
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3524
|
+
"""
|
3525
|
+
...
|
3526
|
+
|
3527
|
+
|
3528
|
+
class Temperature(TypedQuantity):
|
3529
|
+
"""
|
3530
|
+
Type-safe temperature quantity with expression capabilities.
|
3531
|
+
|
3532
|
+
Constructor Options:
|
3533
|
+
-------------------
|
3534
|
+
- Temperature("variable_name") -> Create unknown temperature
|
3535
|
+
- Temperature(value, "unit", "variable_name") -> Create known temperature
|
3536
|
+
|
3537
|
+
Examples:
|
3538
|
+
---------
|
3539
|
+
>>> unknown = Temperature("pressure") # Unknown temperature
|
3540
|
+
>>> known = Temperature(100, "degree_celsius_unit_size", "inlet_pressure") # Known temperature
|
3541
|
+
|
3542
|
+
Available units: "degree_celsius_unit_size", "degree_fahrenheit_unit_size", "degree_r_aumur_unit_size"
|
3543
|
+
"""
|
3544
|
+
__slots__ = ()
|
3545
|
+
_setter_class = ts.TemperatureSetter
|
3546
|
+
_expected_dimension = dim.TEMPERATURE
|
3547
|
+
|
3548
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3549
|
+
|
3550
|
+
def set(self, value: int | float) -> ts.TemperatureSetter:
|
3551
|
+
"""
|
3552
|
+
Create a setter for this temperature quantity.
|
3553
|
+
|
3554
|
+
Args:
|
3555
|
+
value: The numeric value to set
|
3556
|
+
|
3557
|
+
Returns:
|
3558
|
+
TemperatureSetter: A setter with unit properties like .meters, .inches, etc.
|
3559
|
+
|
3560
|
+
Example:
|
3561
|
+
>>> length = Length("beam_length")
|
3562
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3563
|
+
"""
|
3564
|
+
...
|
3565
|
+
|
3566
|
+
|
3567
|
+
class ThermalConductivity(TypedQuantity):
|
3568
|
+
"""
|
3569
|
+
Type-safe thermal conductivity quantity with expression capabilities.
|
3570
|
+
|
3571
|
+
Constructor Options:
|
3572
|
+
-------------------
|
3573
|
+
- ThermalConductivity("variable_name") -> Create unknown thermal conductivity
|
3574
|
+
- ThermalConductivity(value, "unit", "variable_name") -> Create known thermal conductivity
|
3575
|
+
|
3576
|
+
Examples:
|
3577
|
+
---------
|
3578
|
+
>>> unknown = ThermalConductivity("pressure") # Unknown thermal conductivity
|
3579
|
+
>>> known = ThermalConductivity(100, "btu_it", "inlet_pressure") # Known thermal conductivity
|
3580
|
+
|
3581
|
+
Available units: "btu_it", "btu_therm", "btu_therm"
|
3582
|
+
"""
|
3583
|
+
__slots__ = ()
|
3584
|
+
_setter_class = ts.ThermalConductivitySetter
|
3585
|
+
_expected_dimension = dim.THERMAL_CONDUCTIVITY
|
3586
|
+
|
3587
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3588
|
+
|
3589
|
+
def set(self, value: int | float) -> ts.ThermalConductivitySetter:
|
3590
|
+
"""
|
3591
|
+
Create a setter for this thermal conductivity quantity.
|
3592
|
+
|
3593
|
+
Args:
|
3594
|
+
value: The numeric value to set
|
3595
|
+
|
3596
|
+
Returns:
|
3597
|
+
ThermalConductivitySetter: A setter with unit properties like .meters, .inches, etc.
|
3598
|
+
|
3599
|
+
Example:
|
3600
|
+
>>> length = Length("beam_length")
|
3601
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3602
|
+
"""
|
3603
|
+
...
|
3604
|
+
|
3605
|
+
|
3606
|
+
class Time(TypedQuantity):
|
3607
|
+
"""
|
3608
|
+
Type-safe time quantity with expression capabilities.
|
3609
|
+
|
3610
|
+
Constructor Options:
|
3611
|
+
-------------------
|
3612
|
+
- Time("variable_name") -> Create unknown time
|
3613
|
+
- Time(value, "unit", "variable_name") -> Create known time
|
3614
|
+
|
3615
|
+
Examples:
|
3616
|
+
---------
|
3617
|
+
>>> unknown = Time("pressure") # Unknown time
|
3618
|
+
>>> known = Time(100, "blink", "inlet_pressure") # Known time
|
3619
|
+
|
3620
|
+
Available units: "blink", "century", "chronon_or_tempon"
|
3621
|
+
"""
|
3622
|
+
__slots__ = ()
|
3623
|
+
_setter_class = ts.TimeSetter
|
3624
|
+
_expected_dimension = dim.TIME
|
3625
|
+
|
3626
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3627
|
+
|
3628
|
+
def set(self, value: int | float) -> ts.TimeSetter:
|
3629
|
+
"""
|
3630
|
+
Create a setter for this time quantity.
|
3631
|
+
|
3632
|
+
Args:
|
3633
|
+
value: The numeric value to set
|
3634
|
+
|
3635
|
+
Returns:
|
3636
|
+
TimeSetter: A setter with unit properties like .meters, .inches, etc.
|
3637
|
+
|
3638
|
+
Example:
|
3639
|
+
>>> length = Length("beam_length")
|
3640
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3641
|
+
"""
|
3642
|
+
...
|
3643
|
+
|
3644
|
+
|
3645
|
+
class Torque(TypedQuantity):
|
3646
|
+
"""
|
3647
|
+
Type-safe torque quantity with expression capabilities.
|
3648
|
+
|
3649
|
+
Constructor Options:
|
3650
|
+
-------------------
|
3651
|
+
- Torque("variable_name") -> Create unknown torque
|
3652
|
+
- Torque(value, "unit", "variable_name") -> Create known torque
|
3653
|
+
|
3654
|
+
Examples:
|
3655
|
+
---------
|
3656
|
+
>>> unknown = Torque("pressure") # Unknown torque
|
3657
|
+
>>> known = Torque(100, "centimeter_kilogram_force", "inlet_pressure") # Known torque
|
3658
|
+
|
3659
|
+
Available units: "centimeter_kilogram_force", "dyne_centimeter", "foot_kilogram_force"
|
3660
|
+
"""
|
3661
|
+
__slots__ = ()
|
3662
|
+
_setter_class = ts.TorqueSetter
|
3663
|
+
_expected_dimension = dim.TORQUE
|
3664
|
+
|
3665
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3666
|
+
|
3667
|
+
def set(self, value: int | float) -> ts.TorqueSetter:
|
3668
|
+
"""
|
3669
|
+
Create a setter for this torque quantity.
|
3670
|
+
|
3671
|
+
Args:
|
3672
|
+
value: The numeric value to set
|
3673
|
+
|
3674
|
+
Returns:
|
3675
|
+
TorqueSetter: A setter with unit properties like .meters, .inches, etc.
|
3676
|
+
|
3677
|
+
Example:
|
3678
|
+
>>> length = Length("beam_length")
|
3679
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3680
|
+
"""
|
3681
|
+
...
|
3682
|
+
|
3683
|
+
|
3684
|
+
class TurbulenceEnergyDissipationRate(TypedQuantity):
|
3685
|
+
"""
|
3686
|
+
Type-safe turbulence energy dissipation rate quantity with expression capabilities.
|
3687
|
+
|
3688
|
+
Constructor Options:
|
3689
|
+
-------------------
|
3690
|
+
- TurbulenceEnergyDissipationRate("variable_name") -> Create unknown turbulence energy dissipation rate
|
3691
|
+
- TurbulenceEnergyDissipationRate(value, "unit", "variable_name") -> Create known turbulence energy dissipation rate
|
3692
|
+
|
3693
|
+
Examples:
|
3694
|
+
---------
|
3695
|
+
>>> unknown = TurbulenceEnergyDissipationRate("pressure") # Unknown turbulence energy dissipation rate
|
3696
|
+
>>> known = TurbulenceEnergyDissipationRate(100, "square_foot_per_cubic_second", "inlet_pressure") # Known turbulence energy dissipation rate
|
3697
|
+
|
3698
|
+
Available units: "square_foot_per_cubic_second", "square_meter_per_cubic_second"
|
3699
|
+
"""
|
3700
|
+
__slots__ = ()
|
3701
|
+
_setter_class = ts.TurbulenceEnergyDissipationRateSetter
|
3702
|
+
_expected_dimension = dim.TURBULENCE_ENERGY_DISSIPATION_RATE
|
3703
|
+
|
3704
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3705
|
+
|
3706
|
+
def set(self, value: int | float) -> ts.TurbulenceEnergyDissipationRateSetter:
|
3707
|
+
"""
|
3708
|
+
Create a setter for this turbulence energy dissipation rate quantity.
|
3709
|
+
|
3710
|
+
Args:
|
3711
|
+
value: The numeric value to set
|
3712
|
+
|
3713
|
+
Returns:
|
3714
|
+
TurbulenceEnergyDissipationRateSetter: A setter with unit properties like .meters, .inches, etc.
|
3715
|
+
|
3716
|
+
Example:
|
3717
|
+
>>> length = Length("beam_length")
|
3718
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3719
|
+
"""
|
3720
|
+
...
|
3721
|
+
|
3722
|
+
|
3723
|
+
class VelocityAngular(TypedQuantity):
|
3724
|
+
"""
|
3725
|
+
Type-safe velocity, angular quantity with expression capabilities.
|
3726
|
+
|
3727
|
+
Constructor Options:
|
3728
|
+
-------------------
|
3729
|
+
- VelocityAngular("variable_name") -> Create unknown velocity, angular
|
3730
|
+
- VelocityAngular(value, "unit", "variable_name") -> Create known velocity, angular
|
3731
|
+
|
3732
|
+
Examples:
|
3733
|
+
---------
|
3734
|
+
>>> unknown = VelocityAngular("pressure") # Unknown velocity, angular
|
3735
|
+
>>> known = VelocityAngular(100, "degree_per_minute", "inlet_pressure") # Known velocity, angular
|
3736
|
+
|
3737
|
+
Available units: "degree_per_minute", "degree_per_second", "grade_per_minute"
|
3738
|
+
"""
|
3739
|
+
__slots__ = ()
|
3740
|
+
_setter_class = ts.VelocityAngularSetter
|
3741
|
+
_expected_dimension = dim.VELOCITY_ANGULAR
|
3742
|
+
|
3743
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3744
|
+
|
3745
|
+
def set(self, value: int | float) -> ts.VelocityAngularSetter:
|
3746
|
+
"""
|
3747
|
+
Create a setter for this velocity, angular quantity.
|
3748
|
+
|
3749
|
+
Args:
|
3750
|
+
value: The numeric value to set
|
3751
|
+
|
3752
|
+
Returns:
|
3753
|
+
VelocityAngularSetter: A setter with unit properties like .meters, .inches, etc.
|
3754
|
+
|
3755
|
+
Example:
|
3756
|
+
>>> length = Length("beam_length")
|
3757
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3758
|
+
"""
|
3759
|
+
...
|
3760
|
+
|
3761
|
+
|
3762
|
+
class VelocityLinear(TypedQuantity):
|
3763
|
+
"""
|
3764
|
+
Type-safe velocity, linear quantity with expression capabilities.
|
3765
|
+
|
3766
|
+
Constructor Options:
|
3767
|
+
-------------------
|
3768
|
+
- VelocityLinear("variable_name") -> Create unknown velocity, linear
|
3769
|
+
- VelocityLinear(value, "unit", "variable_name") -> Create known velocity, linear
|
3770
|
+
|
3771
|
+
Examples:
|
3772
|
+
---------
|
3773
|
+
>>> unknown = VelocityLinear("pressure") # Unknown velocity, linear
|
3774
|
+
>>> known = VelocityLinear(100, "foot_per_hour", "inlet_pressure") # Known velocity, linear
|
3775
|
+
|
3776
|
+
Available units: "foot_per_hour", "foot_per_minute", "foot_per_second"
|
3777
|
+
"""
|
3778
|
+
__slots__ = ()
|
3779
|
+
_setter_class = ts.VelocityLinearSetter
|
3780
|
+
_expected_dimension = dim.VELOCITY_LINEAR
|
3781
|
+
|
3782
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3783
|
+
|
3784
|
+
def set(self, value: int | float) -> ts.VelocityLinearSetter:
|
3785
|
+
"""
|
3786
|
+
Create a setter for this velocity, linear quantity.
|
3787
|
+
|
3788
|
+
Args:
|
3789
|
+
value: The numeric value to set
|
3790
|
+
|
3791
|
+
Returns:
|
3792
|
+
VelocityLinearSetter: A setter with unit properties like .meters, .inches, etc.
|
3793
|
+
|
3794
|
+
Example:
|
3795
|
+
>>> length = Length("beam_length")
|
3796
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3797
|
+
"""
|
3798
|
+
...
|
3799
|
+
|
3800
|
+
|
3801
|
+
class ViscosityDynamic(TypedQuantity):
|
3802
|
+
"""
|
3803
|
+
Type-safe viscosity, dynamic quantity with expression capabilities.
|
3804
|
+
|
3805
|
+
Constructor Options:
|
3806
|
+
-------------------
|
3807
|
+
- ViscosityDynamic("variable_name") -> Create unknown viscosity, dynamic
|
3808
|
+
- ViscosityDynamic(value, "unit", "variable_name") -> Create known viscosity, dynamic
|
3809
|
+
|
3810
|
+
Examples:
|
3811
|
+
---------
|
3812
|
+
>>> unknown = ViscosityDynamic("pressure") # Unknown viscosity, dynamic
|
3813
|
+
>>> known = ViscosityDynamic(100, "centipoise", "inlet_pressure") # Known viscosity, dynamic
|
3814
|
+
|
3815
|
+
Available units: "centipoise", "dyne_second_per_square_centimeter", "kilopound_second_per_square_meter"
|
3816
|
+
"""
|
3817
|
+
__slots__ = ()
|
3818
|
+
_setter_class = ts.ViscosityDynamicSetter
|
3819
|
+
_expected_dimension = dim.VISCOSITY_DYNAMIC
|
3820
|
+
|
3821
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3822
|
+
|
3823
|
+
def set(self, value: int | float) -> ts.ViscosityDynamicSetter:
|
3824
|
+
"""
|
3825
|
+
Create a setter for this viscosity, dynamic quantity.
|
3826
|
+
|
3827
|
+
Args:
|
3828
|
+
value: The numeric value to set
|
3829
|
+
|
3830
|
+
Returns:
|
3831
|
+
ViscosityDynamicSetter: A setter with unit properties like .meters, .inches, etc.
|
3832
|
+
|
3833
|
+
Example:
|
3834
|
+
>>> length = Length("beam_length")
|
3835
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3836
|
+
"""
|
3837
|
+
...
|
3838
|
+
|
3839
|
+
|
3840
|
+
class ViscosityKinematic(TypedQuantity):
|
3841
|
+
"""
|
3842
|
+
Type-safe viscosity, kinematic quantity with expression capabilities.
|
3843
|
+
|
3844
|
+
Constructor Options:
|
3845
|
+
-------------------
|
3846
|
+
- ViscosityKinematic("variable_name") -> Create unknown viscosity, kinematic
|
3847
|
+
- ViscosityKinematic(value, "unit", "variable_name") -> Create known viscosity, kinematic
|
3848
|
+
|
3849
|
+
Examples:
|
3850
|
+
---------
|
3851
|
+
>>> unknown = ViscosityKinematic("pressure") # Unknown viscosity, kinematic
|
3852
|
+
>>> known = ViscosityKinematic(100, "centistokes", "inlet_pressure") # Known viscosity, kinematic
|
3853
|
+
|
3854
|
+
Available units: "centistokes", "millistokes", "square_centimeter_per_second"
|
3855
|
+
"""
|
3856
|
+
__slots__ = ()
|
3857
|
+
_setter_class = ts.ViscosityKinematicSetter
|
3858
|
+
_expected_dimension = dim.VISCOSITY_KINEMATIC
|
3859
|
+
|
3860
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3861
|
+
|
3862
|
+
def set(self, value: int | float) -> ts.ViscosityKinematicSetter:
|
3863
|
+
"""
|
3864
|
+
Create a setter for this viscosity, kinematic quantity.
|
3865
|
+
|
3866
|
+
Args:
|
3867
|
+
value: The numeric value to set
|
3868
|
+
|
3869
|
+
Returns:
|
3870
|
+
ViscosityKinematicSetter: A setter with unit properties like .meters, .inches, etc.
|
3871
|
+
|
3872
|
+
Example:
|
3873
|
+
>>> length = Length("beam_length")
|
3874
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3875
|
+
"""
|
3876
|
+
...
|
3877
|
+
|
3878
|
+
|
3879
|
+
class Volume(TypedQuantity):
|
3880
|
+
"""
|
3881
|
+
Type-safe volume quantity with expression capabilities.
|
3882
|
+
|
3883
|
+
Constructor Options:
|
3884
|
+
-------------------
|
3885
|
+
- Volume("variable_name") -> Create unknown volume
|
3886
|
+
- Volume(value, "unit", "variable_name") -> Create known volume
|
3887
|
+
|
3888
|
+
Examples:
|
3889
|
+
---------
|
3890
|
+
>>> unknown = Volume("pressure") # Unknown volume
|
3891
|
+
>>> known = Volume(100, "acre_foot", "inlet_pressure") # Known volume
|
3892
|
+
|
3893
|
+
Available units: "acre_foot", "acre_inch", "barrel_us_liquid"
|
3894
|
+
"""
|
3895
|
+
__slots__ = ()
|
3896
|
+
_setter_class = ts.VolumeSetter
|
3897
|
+
_expected_dimension = dim.VOLUME
|
3898
|
+
|
3899
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3900
|
+
|
3901
|
+
def set(self, value: int | float) -> ts.VolumeSetter:
|
3902
|
+
"""
|
3903
|
+
Create a setter for this volume quantity.
|
3904
|
+
|
3905
|
+
Args:
|
3906
|
+
value: The numeric value to set
|
3907
|
+
|
3908
|
+
Returns:
|
3909
|
+
VolumeSetter: A setter with unit properties like .meters, .inches, etc.
|
3910
|
+
|
3911
|
+
Example:
|
3912
|
+
>>> length = Length("beam_length")
|
3913
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3914
|
+
"""
|
3915
|
+
...
|
3916
|
+
|
3917
|
+
|
3918
|
+
class VolumeFractionOfI(TypedQuantity):
|
3919
|
+
"""
|
3920
|
+
Type-safe volume fraction of "i" quantity with expression capabilities.
|
3921
|
+
|
3922
|
+
Constructor Options:
|
3923
|
+
-------------------
|
3924
|
+
- VolumeFractionOfI("variable_name") -> Create unknown volume fraction of "i"
|
3925
|
+
- VolumeFractionOfI(value, "unit", "variable_name") -> Create known volume fraction of "i"
|
3926
|
+
|
3927
|
+
Examples:
|
3928
|
+
---------
|
3929
|
+
>>> unknown = VolumeFractionOfI("pressure") # Unknown volume fraction of "i"
|
3930
|
+
>>> known = VolumeFractionOfI(100, "cubic_centimeters_of_i_per_cubic_meter_total", "inlet_pressure") # Known volume fraction of "i"
|
3931
|
+
|
3932
|
+
Available units: "cubic_centimeters_of_i_per_cubic_meter_total", "cubic_foot_of_i_per_cubic_foot_total", "cubic_meters_of_i_per_cubic_meter_total"
|
3933
|
+
"""
|
3934
|
+
__slots__ = ()
|
3935
|
+
_setter_class = ts.VolumeFractionOfISetter
|
3936
|
+
_expected_dimension = dim.VOLUME_FRACTION_OF_I
|
3937
|
+
|
3938
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3939
|
+
|
3940
|
+
def set(self, value: int | float) -> ts.VolumeFractionOfISetter:
|
3941
|
+
"""
|
3942
|
+
Create a setter for this volume fraction of "i" quantity.
|
3943
|
+
|
3944
|
+
Args:
|
3945
|
+
value: The numeric value to set
|
3946
|
+
|
3947
|
+
Returns:
|
3948
|
+
VolumeFractionOfISetter: A setter with unit properties like .meters, .inches, etc.
|
3949
|
+
|
3950
|
+
Example:
|
3951
|
+
>>> length = Length("beam_length")
|
3952
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3953
|
+
"""
|
3954
|
+
...
|
3955
|
+
|
3956
|
+
|
3957
|
+
class VolumetricCalorificHeatingValue(TypedQuantity):
|
3958
|
+
"""
|
3959
|
+
Type-safe volumetric calorific (heating) value quantity with expression capabilities.
|
3960
|
+
|
3961
|
+
Constructor Options:
|
3962
|
+
-------------------
|
3963
|
+
- VolumetricCalorificHeatingValue("variable_name") -> Create unknown volumetric calorific (heating) value
|
3964
|
+
- VolumetricCalorificHeatingValue(value, "unit", "variable_name") -> Create known volumetric calorific (heating) value
|
3965
|
+
|
3966
|
+
Examples:
|
3967
|
+
---------
|
3968
|
+
>>> unknown = VolumetricCalorificHeatingValue("pressure") # Unknown volumetric calorific (heating) value
|
3969
|
+
>>> known = VolumetricCalorificHeatingValue(100, "british_thermal_unit_per_cubic_foot", "inlet_pressure") # Known volumetric calorific (heating) value
|
3970
|
+
|
3971
|
+
Available units: "british_thermal_unit_per_cubic_foot", "british_thermal_unit_per_gallon_uk", "british_thermal_unit_per_gallon_us"
|
3972
|
+
"""
|
3973
|
+
__slots__ = ()
|
3974
|
+
_setter_class = ts.VolumetricCalorificHeatingValueSetter
|
3975
|
+
_expected_dimension = dim.VOLUMETRIC_CALORIFIC_HEATING_VALUE
|
3976
|
+
|
3977
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
3978
|
+
|
3979
|
+
def set(self, value: int | float) -> ts.VolumetricCalorificHeatingValueSetter:
|
3980
|
+
"""
|
3981
|
+
Create a setter for this volumetric calorific (heating) value quantity.
|
3982
|
+
|
3983
|
+
Args:
|
3984
|
+
value: The numeric value to set
|
3985
|
+
|
3986
|
+
Returns:
|
3987
|
+
VolumetricCalorificHeatingValueSetter: A setter with unit properties like .meters, .inches, etc.
|
3988
|
+
|
3989
|
+
Example:
|
3990
|
+
>>> length = Length("beam_length")
|
3991
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
3992
|
+
"""
|
3993
|
+
...
|
3994
|
+
|
3995
|
+
|
3996
|
+
class VolumetricCoefficientOfExpansion(TypedQuantity):
|
3997
|
+
"""
|
3998
|
+
Type-safe volumetric coefficient of expansion quantity with expression capabilities.
|
3999
|
+
|
4000
|
+
Constructor Options:
|
4001
|
+
-------------------
|
4002
|
+
- VolumetricCoefficientOfExpansion("variable_name") -> Create unknown volumetric coefficient of expansion
|
4003
|
+
- VolumetricCoefficientOfExpansion(value, "unit", "variable_name") -> Create known volumetric coefficient of expansion
|
4004
|
+
|
4005
|
+
Examples:
|
4006
|
+
---------
|
4007
|
+
>>> unknown = VolumetricCoefficientOfExpansion("pressure") # Unknown volumetric coefficient of expansion
|
4008
|
+
>>> known = VolumetricCoefficientOfExpansion(100, "gram_per_cubic_centimeter_per_kelvin_or_degree_celsius", "inlet_pressure") # Known volumetric coefficient of expansion
|
4009
|
+
|
4010
|
+
Available units: "gram_per_cubic_centimeter_per_kelvin_or_degree_celsius", "kilogram_per_cubic_meter_per_kelvin_or_degree_celsius", "pound_per_cubic_foot_per_degree_fahrenheit_or_degree_rankine"
|
4011
|
+
"""
|
4012
|
+
__slots__ = ()
|
4013
|
+
_setter_class = ts.VolumetricCoefficientOfExpansionSetter
|
4014
|
+
_expected_dimension = dim.VOLUMETRIC_COEFFICIENT_OF_EXPANSION
|
4015
|
+
|
4016
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
4017
|
+
|
4018
|
+
def set(self, value: int | float) -> ts.VolumetricCoefficientOfExpansionSetter:
|
4019
|
+
"""
|
4020
|
+
Create a setter for this volumetric coefficient of expansion quantity.
|
4021
|
+
|
4022
|
+
Args:
|
4023
|
+
value: The numeric value to set
|
4024
|
+
|
4025
|
+
Returns:
|
4026
|
+
VolumetricCoefficientOfExpansionSetter: A setter with unit properties like .meters, .inches, etc.
|
4027
|
+
|
4028
|
+
Example:
|
4029
|
+
>>> length = Length("beam_length")
|
4030
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
4031
|
+
"""
|
4032
|
+
...
|
4033
|
+
|
4034
|
+
|
4035
|
+
class VolumetricFlowRate(TypedQuantity):
|
4036
|
+
"""
|
4037
|
+
Type-safe volumetric flow rate quantity with expression capabilities.
|
4038
|
+
|
4039
|
+
Constructor Options:
|
4040
|
+
-------------------
|
4041
|
+
- VolumetricFlowRate("variable_name") -> Create unknown volumetric flow rate
|
4042
|
+
- VolumetricFlowRate(value, "unit", "variable_name") -> Create known volumetric flow rate
|
4043
|
+
|
4044
|
+
Examples:
|
4045
|
+
---------
|
4046
|
+
>>> unknown = VolumetricFlowRate("pressure") # Unknown volumetric flow rate
|
4047
|
+
>>> known = VolumetricFlowRate(100, "cubic_feet_per_day", "inlet_pressure") # Known volumetric flow rate
|
4048
|
+
|
4049
|
+
Available units: "cubic_feet_per_day", "cubic_feet_per_hour", "cubic_feet_per_minute"
|
4050
|
+
"""
|
4051
|
+
__slots__ = ()
|
4052
|
+
_setter_class = ts.VolumetricFlowRateSetter
|
4053
|
+
_expected_dimension = dim.VOLUMETRIC_FLOW_RATE
|
4054
|
+
|
4055
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
4056
|
+
|
4057
|
+
def set(self, value: int | float) -> ts.VolumetricFlowRateSetter:
|
4058
|
+
"""
|
4059
|
+
Create a setter for this volumetric flow rate quantity.
|
4060
|
+
|
4061
|
+
Args:
|
4062
|
+
value: The numeric value to set
|
4063
|
+
|
4064
|
+
Returns:
|
4065
|
+
VolumetricFlowRateSetter: A setter with unit properties like .meters, .inches, etc.
|
4066
|
+
|
4067
|
+
Example:
|
4068
|
+
>>> length = Length("beam_length")
|
4069
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
4070
|
+
"""
|
4071
|
+
...
|
4072
|
+
|
4073
|
+
|
4074
|
+
class VolumetricFlux(TypedQuantity):
|
4075
|
+
"""
|
4076
|
+
Type-safe volumetric flux quantity with expression capabilities.
|
4077
|
+
|
4078
|
+
Constructor Options:
|
4079
|
+
-------------------
|
4080
|
+
- VolumetricFlux("variable_name") -> Create unknown volumetric flux
|
4081
|
+
- VolumetricFlux(value, "unit", "variable_name") -> Create known volumetric flux
|
4082
|
+
|
4083
|
+
Examples:
|
4084
|
+
---------
|
4085
|
+
>>> unknown = VolumetricFlux("pressure") # Unknown volumetric flux
|
4086
|
+
>>> known = VolumetricFlux(100, "cubic_feet_per_square_foot_per_day", "inlet_pressure") # Known volumetric flux
|
4087
|
+
|
4088
|
+
Available units: "cubic_feet_per_square_foot_per_day", "cubic_feet_per_square_foot_per_hour", "cubic_feet_per_square_foot_per_minute"
|
4089
|
+
"""
|
4090
|
+
__slots__ = ()
|
4091
|
+
_setter_class = ts.VolumetricFluxSetter
|
4092
|
+
_expected_dimension = dim.VOLUMETRIC_FLUX
|
4093
|
+
|
4094
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
4095
|
+
|
4096
|
+
def set(self, value: int | float) -> ts.VolumetricFluxSetter:
|
4097
|
+
"""
|
4098
|
+
Create a setter for this volumetric flux quantity.
|
4099
|
+
|
4100
|
+
Args:
|
4101
|
+
value: The numeric value to set
|
4102
|
+
|
4103
|
+
Returns:
|
4104
|
+
VolumetricFluxSetter: A setter with unit properties like .meters, .inches, etc.
|
4105
|
+
|
4106
|
+
Example:
|
4107
|
+
>>> length = Length("beam_length")
|
4108
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
4109
|
+
"""
|
4110
|
+
...
|
4111
|
+
|
4112
|
+
|
4113
|
+
class VolumetricMassFlowRate(TypedQuantity):
|
4114
|
+
"""
|
4115
|
+
Type-safe volumetric mass flow rate quantity with expression capabilities.
|
4116
|
+
|
4117
|
+
Constructor Options:
|
4118
|
+
-------------------
|
4119
|
+
- VolumetricMassFlowRate("variable_name") -> Create unknown volumetric mass flow rate
|
4120
|
+
- VolumetricMassFlowRate(value, "unit", "variable_name") -> Create known volumetric mass flow rate
|
4121
|
+
|
4122
|
+
Examples:
|
4123
|
+
---------
|
4124
|
+
>>> unknown = VolumetricMassFlowRate("pressure") # Unknown volumetric mass flow rate
|
4125
|
+
>>> known = VolumetricMassFlowRate(100, "gram_per_second_per_cubic_centimeter", "inlet_pressure") # Known volumetric mass flow rate
|
4126
|
+
|
4127
|
+
Available units: "gram_per_second_per_cubic_centimeter", "kilogram_per_hour_per_cubic_foot", "kilogram_per_hour_per_cubic_meter"
|
4128
|
+
"""
|
4129
|
+
__slots__ = ()
|
4130
|
+
_setter_class = ts.VolumetricMassFlowRateSetter
|
4131
|
+
_expected_dimension = dim.VOLUMETRIC_MASS_FLOW_RATE
|
4132
|
+
|
4133
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
4134
|
+
|
4135
|
+
def set(self, value: int | float) -> ts.VolumetricMassFlowRateSetter:
|
4136
|
+
"""
|
4137
|
+
Create a setter for this volumetric mass flow rate quantity.
|
4138
|
+
|
4139
|
+
Args:
|
4140
|
+
value: The numeric value to set
|
4141
|
+
|
4142
|
+
Returns:
|
4143
|
+
VolumetricMassFlowRateSetter: A setter with unit properties like .meters, .inches, etc.
|
4144
|
+
|
4145
|
+
Example:
|
4146
|
+
>>> length = Length("beam_length")
|
4147
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
4148
|
+
"""
|
4149
|
+
...
|
4150
|
+
|
4151
|
+
|
4152
|
+
class Wavenumber(TypedQuantity):
|
4153
|
+
"""
|
4154
|
+
Type-safe wavenumber quantity with expression capabilities.
|
4155
|
+
|
4156
|
+
Constructor Options:
|
4157
|
+
-------------------
|
4158
|
+
- Wavenumber("variable_name") -> Create unknown wavenumber
|
4159
|
+
- Wavenumber(value, "unit", "variable_name") -> Create known wavenumber
|
4160
|
+
|
4161
|
+
Examples:
|
4162
|
+
---------
|
4163
|
+
>>> unknown = Wavenumber("pressure") # Unknown wavenumber
|
4164
|
+
>>> known = Wavenumber(100, "diopter", "inlet_pressure") # Known wavenumber
|
4165
|
+
|
4166
|
+
Available units: "diopter", "kayser", "reciprocal_meter"
|
4167
|
+
"""
|
4168
|
+
__slots__ = ()
|
4169
|
+
_setter_class = ts.WavenumberSetter
|
4170
|
+
_expected_dimension = dim.WAVENUMBER
|
4171
|
+
|
4172
|
+
def __init__(self, name_or_value: str | int | float, unit: str | None = None, name: str | None = None, is_known: bool = True): ...
|
4173
|
+
|
4174
|
+
def set(self, value: int | float) -> ts.WavenumberSetter:
|
4175
|
+
"""
|
4176
|
+
Create a setter for this wavenumber quantity.
|
4177
|
+
|
4178
|
+
Args:
|
4179
|
+
value: The numeric value to set
|
4180
|
+
|
4181
|
+
Returns:
|
4182
|
+
WavenumberSetter: A setter with unit properties like .meters, .inches, etc.
|
4183
|
+
|
4184
|
+
Example:
|
4185
|
+
>>> length = Length("beam_length")
|
4186
|
+
>>> length.set(100).millimeters # Sets to 100 mm
|
4187
|
+
"""
|
4188
|
+
...
|
4189
|
+
|
4190
|
+
|
4191
|
+
# All quantity classes are defined above
|
4192
|
+
# Setter classes are defined in setters.pyi
|