RebinToWorkspace v1

../_images/RebinToWorkspace-v1_dlg.png

RebinToWorkspace dialog.

Summary

Rebin a selected workspace to the same binning as a different workspace

Properties

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.

Description

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: Algorithm Index | Transforms\Rebin

Source

C++ source: RebinToWorkspace.cpp (last modified: 2018-10-05)

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