Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | MatrixWorkspace | Mandatory | An input workspace. |
OutputWorkspace | Output | MatrixWorkspace | Mandatory | An output workspace. |
AddMinimum | Input | boolean | True | Add the minumum value of the spectrum to bring it up to zero. |
ResetValue | Input | number | 0 | Reset negative values to this number (default=0) |
This algorithm will search through the input workspace for values less than zero and make them positive according to the properties. If AddMinimum is “true” then all values will have for the spectrum added to them if the minimum is less than zero. Otherwise all values that are less than zero will be set to ResetValue which has a default of 0.
Categories: Algorithms | Utility