Permalink
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (46 sloc) 1.89 KB

Scimath Units User Reference

Internal Representation

Internally, a scimath unit is a unit object:

For example, the predefined unit Newton has the following attributes:

>>> from scimath.units.force import newton, lbf
>>> newton.value
1.0
>>> newton.derivation
(1, 1, -2, 0, 0, 0, 0)
>>> newton.label
'newton'
>>> lbf.value
4.44822
>>> lbf.derivation
(1, 1, -2, 0, 0, 0, 0)

Limited API reference

Convert

HasUnits

UnitScalar

UnitArray