UnitLabel

This a python binding to the C++ class Mantid::Kernel::UnitLabel.

class mantid.kernel.UnitLabel((object)arg1, (object)ascii, (object)utf8, (object)latex)
__init__((object)arg1, (object)ascii, (object)utf8, (object)latex) → object :
Construct a label from a unicode object
__init__( (object)arg1, (str)ascii) -> None :
Construct a label from a plain-text string
ascii((UnitLabel)self) → str :

Return the label as a plain-text string

latex((UnitLabel)self) → str :

Return the label as a plain-text string with latex formatting

utf8((UnitLabel)self) → object :

Return the label as a unicode string