xotl.tools.dim.base - The base physical quantities¶
The standard physical quantities.
-
class
xotl.tools.dim.base.Length[source]¶ The Length base quantity.
-
metre¶ The canonical unit.
Aliases of the canonical unit:
-
m¶
-
meter¶
Other attributes:
-
kilometre¶
-
kilometer¶
-
km¶
-
centimetre¶
-
centimeter¶
-
cm¶
-
millimetre¶
-
millimeter¶
-
mm¶
-
nanometre¶
-
nanometer¶
-
nm¶
-
-
class
xotl.tools.dim.base.Time[source]¶ The Time base quantity.
-
second¶ The canonical unit.
Aliases of the canonical unit:
-
s¶
Other attributes:
-
millisecond¶
-
ms¶
-
nanosecond¶
-
ns¶
-
minute¶
-
hour¶
-
-
class
xotl.tools.dim.base.Mass[source]¶ The Mass base quantity.
-
kilogram¶ The canonical unit.
Aliases of the canonical unit:
-
kg¶
Other attributes:
-
gram¶
-
-
class
xotl.tools.dim.base.ElectricCurrent[source]¶ The electrical current base quantity.
-
ampere¶ The canonical unit.
Aliases of the canonical unit:
-
A¶
-
-
class
xotl.tools.dim.base.Temperature[source]¶ The thermodynamic temperature base quantity.
-
kelvin¶ The canonical unit.
Aliases of the canonical unit:
-
K¶
-
-
class
xotl.tools.dim.base.Substance[source]¶ The amount of substance.
-
mole¶ The canonical unit.
Aliases of the canonical unit:
-
mol¶
-
Aliases¶
-
class
xotl.tools.dim.base.I¶ An alias of
ElectricCurrent
-
class
xotl.tools.dim.base.O¶ An alias of
Temperature. We can’t really use the Greek Theta Θ
-
class
xotl.tools.dim.base.J¶ An alias of
Luminosity
Derived quantities¶
-
class
xotl.tools.dim.base.Area¶ Defined as
L**2.-
metre_squared¶ The canonical unit.
Aliases of the canonical unit:
-
meter_squared¶
-
-
class
xotl.tools.dim.base.Volume¶ Defined as
L**3.-
metre_cubic¶ The canonical unit.
Aliases of the canonical unit:
-
meter_cubic¶
-
-
class
xotl.tools.dim.base.Frequency¶ Defined as
T**-1(which is the same as1/T).-
unit_per_second¶ The canonical unit.
Aliases of the canonical unit:
-
Hz¶
-
-
class
xotl.tools.dim.base.Force¶ -
-
metre_kilogram_per_second_squared¶ The canonical unit.
Aliases of the canonical unit:
-
N¶
-
Newton¶
-
meter_kilogram_per_second_squared¶
-
-
class
xotl.tools.dim.base.Pressure¶ -
-
kilogram_per_metre_per_second_squared¶
Aliases of the canonical unit:
-
pascal¶
-
Pa¶
-
kilogram_per_meter_per_second_squared¶
Changed in version 2.1.11: Corrected the name from ‘Presure’ to ‘Pressure’. You can still import the mistyped name.
-
On the automatically created names for derived quantities¶
We automatically create the name of the canonical unit of quantities derived from others by simple rules:
A * Bjoins the canonical unit names together with a low dash ‘_’ in-between. Let’s represent it asa_b, whereastands for the name of the canonical unit ofAandb, the canonical unit ofB.For the case,
A * Athe unit name isa_squared.A/Bgets the namea_per_b.1/Agets the nameunit_per_aA**n; whenn=1this is the same asA; whenn=2this is the same asA * A; for other positive values ofn, the canonical unit name isa_pow_n; for negative values ofnis the same as1/A**n; forn=0this is theScalarquantity.