UnitSystem

class narupatools.physics.units.UnitSystem(**kwargs: Union[float, narupatools.physics.units.Unit])

System of units which can be converted between each other.

Accessing an attribute such as .length or .time gives the corresponding value in units compatible with Narupa.

Inheritance

Inheritance diagram of UnitSystem

Methods

__init__

Initialize self.

__init__(**kwargs: Union[float, narupatools.physics.units.Unit])

Initialize self. See help(type(self)) for accurate signature.