pyxx.units.UnitSystemSI¶
- class pyxx.units.UnitSystemSI(name: str | None = 'SI', description: str | None = 'International System of Units')¶
Bases:
UnitSystemClass representing the SI system of units
Class that can be used to represent the International System of Units (SI). This system of units has 7 base units, which are described in the “Notes” section.
Notes
The base units in the SI system are:
Length: meter [\(m\)]
Time: second [\(s\)]
Amount of substance: mole [\(mol\)]
Electric current: ampere [\(A\)]
Temperature: Kelvin [\(K\)]
Luminous intensity: candela [\(cd\)]
Mass: kilogram [\(kg\)]
References
https://www.nist.gov/pml/weights-and-measures/metric-si/si-units
Methods
__init__([name, description])Creates an instance of the
UnitSystemSIclassInherited Attributes
A brief description of the system of units, such as a list of the base units or details on other relevant specifications
A short, descriptive name identifying the system of units
The number of base units in the system of units
- property description¶
A brief description of the system of units, such as a list of the base units or details on other relevant specifications
- property name¶
A short, descriptive name identifying the system of units
- property num_base_units¶
The number of base units in the system of units
- __init__(name: str | None = 'SI', description: str | None = 'International System of Units')¶
Creates an instance of the
UnitSystemSIclassCreates a system of units corresponding to the International System of Units (SI). This system of units has 7 base units.
- Parameters:
name (str, optional) – A short, descriptive name of the system of units (default is
'SI')description (str, optional) – A description of the system of units (default is
'International System of Units')