FunctionFactoryImpl#

This is a Python binding to the C++ class Mantid::API::FunctionFactoryImpl.

class mantid.api.FunctionFactoryImpl#
static Instance() FunctionFactoryImpl :#

Returns a reference to the FunctionFactory singleton

createCompositeFunction((FunctionFactoryImpl)self, (str)name) CompositeFunction :#

Return a pointer to the requested function

createFunction((FunctionFactoryImpl)self, (str)type) IFunction :#

Return a pointer to the requested function

createInitialized((FunctionFactoryImpl)self, (str)init_expr) IFunction :#

Return a pointer to the requested function

createInitializedMultiDomainFunction((FunctionFactoryImpl)self, (str)init_expr, (int)domain_number) MultiDomainFunction :#

Return a pointer to the requested function

createPeakFunction((FunctionFactoryImpl)self, (str)name) IPeakFunction :#

Return pointer to peak function.

getBackgroundFunctionNames((FunctionFactoryImpl)self) object :#

Returns a list of the currently available background functions

getFunctionNames((FunctionFactoryImpl)self) object :#

Returns a list of the currently available functions

getPeakFunctionNames((FunctionFactoryImpl)self) object :#

Returns a list of the currently available peak functions

subscribe((FunctionFactoryImpl)self, (object)object) None :#

Register a Python class derived from IFunction into the factory

unsubscribe((FunctionFactoryImpl)self, (str)class_name) None :#

Remove a type from the factory