Table of Contents
This algorithm creates a workspace which is the duplicate of the input, but where the error value for every bin has been set to zero.
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | MatrixWorkspace | Mandatory | |
OutputWorkspace | Output | MatrixWorkspace | Mandatory | |
SetError | Input | string | zero | How to reset the uncertainties. Allowed values: [‘zero’, ‘sqrt’, ‘sqrtOrOne’, ‘oneIfZero’, ‘custom’] |
SetErrorTo | Input | number | 1 | The error value to set when using custom mode |
IfEqualTo | Input | number | 0 | Which error values in the input workspace should be replaced when using custom mode |
Precision | Input | number | 3 | How many decimal places of IfEqualTo are taken into account for matching when using custom mode |
The uncertainties for the entire workspace will be recalculated according to the SetError property.
The result is a Workspace2D (mantid.api.MatrixWorkspace).
Categories: AlgorithmIndex | Arithmetic\Errors
C++ source: SetUncertainties.cpp (last modified: 2019-06-04)
C++ header: SetUncertainties.h (last modified: 2018-10-05)