- qunits.Unit ( scale , exp_map , dimension , context )[source]
Create a new
Unitinstance.- Parameters:
-
- scalescalar
The scale factor of the unit relative to the SI base units.
- exp_mapExpMap
The
ExpMapof the unit.- dimensiontype[qunits.dimension.Dimension]
The
Dimensionof the unit.- contextContext
The
Contextof the unit.
- Properties:
-
- contextContext
The
Contextof the unit.- dtype[qunits.dimension.Dimension]
The
Dimensionof the unit.- dimtype[qunits.dimension.Dimension]
The
Dimensionof the unit.- dimensiontype[qunits.dimension.Dimension]
The
Dimensionof the unit.- exp_mapExpMap
The
ExpMapof the unit.- scalescalar
The scale factor of the unit relative to the SI base units.