scipp.Unit

scipp.Unit

class scipp.Unit

A physical unit.

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: scipp._scipp.core.Unit) -> None

  2. __init__(self: scipp._scipp.core.Unit, arg0: str) -> None

Methods

__init__(*args, **kwargs)

Overloaded function.

Attributes

name

A read-only string describing the type of unit.

property name

A read-only string describing the type of unit.