CloneWorkspace v1

../_images/CloneWorkspace-v1_dlg.png

CloneWorkspace dialog.

Summary

Copies an existing workspace into a new one.

Properties

Name Direction Type Default Description
InputWorkspace Input Workspace Mandatory Name of the input workspace. Must be a MatrixWorkspace (2D or EventWorkspace), a PeaksWorkspace or a MDEventWorkspace.
OutputWorkspace Output Workspace Mandatory Name of the newly created cloned workspace.

Description

This algorithm performs a deep copy of all of the information in the workspace. It maintains events if the input is an EventWorkspace. It will call CloneMDWorkspace for a MDEventWorkspace or a MDHistoWorkspace. It can also clone a PeaksWorkspace.

If in-place operation is requested (e.g. InputWorkspace==OutputWorkspace) this algorithm does nothing.

Categories: AlgorithmIndex | Utility\Workspaces

Source

C++ source: CloneWorkspace.cpp (last modified: 2019-09-17)

C++ header: CloneWorkspace.h (last modified: 2018-10-05)