MergeRuns
From MantidProject
Contents |
Summary
Combines the data contained in an arbitrary number of input workspaces.
Properties
| Order | Name | Direction | Type | Default | Description |
|---|---|---|---|---|---|
| 1 | InputWorkspaces | Input | String | Mandatory | The names of the input workspaces as a comma-separated list. |
| 2 | OutputWorkspace | Output | Workspace | Mandatory | The name of the output workspace. |
Description
Combines the data contained in an arbitrary number of input workspaces. If the input workspaces do not have common binning, the bins in the output workspace will cover the entire range of all the input workspaces, with the largest bin widths used in regions of overlap.
Restrictions on the input workspace
The input workspaces must contain histogram data with the same number of spectra and matching units and instrument name in order for the algorithm to succeed. Each input workspace must have common binning for all its spectra. Other than this it is currently left to the user to ensure that the combination of the workspaces is a valid operation.
Subalgorithms used
The Rebin algorithm is used, if neccessary, to put all the input workspaces onto a common binning.
Source Code
Header MergeRuns.h
Source MergeRuns.cpp
