unit

property Current.unit: str

Symbol of the unit of measurement for electrical current. It must be a str. Available units are:

  • 'A' for ampere,

  • 'mA' for milli-ampere,

  • 'uA' for micro-ampere.

Returns

str

Symbol of the unit of measurement for electrical current.

Raises

TypeError

If unit is not a str.

KeyError

If the unit is not among available ones.