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)arg1, (str)arg2) → Unit :

Creates a named unit if it exists in the factory

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

Returns a list of units available from the factory