\(\renewcommand\AA{\unicode{x212B}}\)
Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
WorkspaceToRebin | Input | MatrixWorkspace | Mandatory | The workspace on which to perform the algorithm This must be a Histogram workspace, not Point data. If this is a problem try ConvertToHistogram. |
WorkspaceToMatch | Input | MatrixWorkspace | Mandatory | The workspace to match the bin boundaries against. This must be a Histogram workspace, not Point data. If this is a problem try ConvertToHistogram. |
OutputWorkspace | Output | MatrixWorkspace | Mandatory | The name of the workspace to be created as the output of the algorithm |
PreserveEvents | Input | boolean | True | Keep the output workspace as an EventWorkspace, if the input has events (default). If the input and output EventWorkspace names are the same, only the X bins are set, which is very quick. If false, then the workspace gets converted to a Workspace2D histogram. |
Takes an input workspace and alters the binning so that all it’s spectra match that of the first spectrum of the second workspace. This algorithm simply builds a parameter list that is passed to the Rebin v1 algorithm, which actually does the work.
Categories: AlgorithmIndex | Transforms\Rebin
C++ header: RebinToWorkspace.h (last modified: 2020-03-20)
C++ source: RebinToWorkspace.cpp (last modified: 2020-04-07)