RebinToWorkspace v1

../_images/RebinToWorkspace-v1_dlg.png

RebinToWorkspace dialog.

Table of Contents

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
WorkspaceToMatch Input MatrixWorkspace Mandatory The workspace to match the bin boundaries against
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: Algorithms | Transforms\Rebin