\(\renewcommand\AA{\unicode{x212B}}\)

WorkspaceFactoryImpl

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

class mantid.api.WorkspaceFactoryImpl
static Instance() WorkspaceFactoryImpl :

Returns the single instance of this class.

create((WorkspaceFactoryImpl)self, (MatrixWorkspace)parent[, (int)NVectors=-1[, (int)XLength=-1[, (int)YLength=-1]]]) Workspace :

Create a workspace based on the given one. The meta-data, instrument etc are copied from the inputIf the size parameters are passed then the workspace will be a different size.

create( (WorkspaceFactoryImpl)self, (str)className, (int)NVectors, (int)XLength, (int)YLength) -> Workspace :

Create a clean new worksapce of the given size.

createPeaks((WorkspaceFactoryImpl)self[, (str)className='PeaksWorkspace']) Workspace :

Creates an empty PeaksWorkspace

createTable((WorkspaceFactoryImpl)self[, (str)className='TableWorkspace']) Workspace :

Creates an empty TableWorkspace