scuq.si

class scuq.si.SIModel[source]

Bases: PhysicalModel

The interface for a physical model for SI units.

The basic intend of this class is to provide an mapping between SI base units and physical dimensions.

__init__()[source]

Default constructor.

get_dimension(unit)[source]

Get the pysical dimension that corresponds to the given SI base unit.

unit: The unit to check the dimension for parameter is no SI base unit.

Returns: The corresponding physical dimension.