CloneWorkspace v1

../_images/CloneWorkspace-v1_dlg.png

CloneWorkspace dialog.

Table of Contents

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.

Categories: Algorithms | Utility\Workspaces

Source

C++ source: CloneWorkspace.cpp (last modified: 2016-04-17)

C++ header: CloneWorkspace.h (last modified: 2017-12-11)