UnitFactoryImpl

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

class mantid.kernel.UnitFactoryImpl
Instance() → UnitFactoryImpl :

Returns a reference to the UnitFactory singleton

__init__()

Raises an exception This class cannot be instantiated from Python

create((UnitFactoryImpl)self, (str)className) → Unit :

Creates a named unit if it exists in the factory

getKeys((UnitFactoryImpl)self) → numpy.ndarray :

Returns a list of units available from the factory