Workspace Group

A WorkspaceGroup is a group of workspaces.

Most algorithms will execute on a WorkspaceGroup by simply executing the algorithm on each workspace contained within.

Creating a Workspace Group

  • Select a few workspaces in MantidPlot and click the “Group” button above the list of workspaces.
  • Use the GroupWorkspaces algorithm.

Un-grouping Workspaces

  • Select the WorkspaceGroup and click “Ungroup”.
  • Use the UnGroupWorkspace algorithm.

Other Information on Workspaces

  • Workspace - Overview of workspaces, which include the following classes:
    • MatrixWorkspace - A base class that contains among others:
      • WorkspaceSingleValue - Holds a single number (and X & error value, if desired). Mainly used for workspace algebra, e.g. to divide all bins in a 2D workspace by a single value.
      • Workspace2D - A workspace for holding two dimensional data in memory, this is the most commonly used workspace.
      • EventWorkspace - A workspace that retains the individual neutron event data.
    • TableWorkspace - A workspace holding data in rows of columns having a particular type (e.g. text, integer, ...).
    • WorkspaceGroup - A container for a collection of workspaces. Algorithms given a group as input run sequentially on each member of the group.

Category: Concepts