unit

property Stress.unit: str

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

  • 'Pa' for pascal,

  • 'kPa' for kilo-pascal,

  • 'MPa' for mega-pascal,

  • 'GPa' for giga-pascal.

Returns

str

Symbol of the unit of measurement for stress.

Raises

TypeError

If unit is not a str.

KeyError

If the unit is not among available ones.