ResetNegatives v1¶
Summary¶
Reset negative values to something else.
Properties¶
Name |
Direction |
Type |
Default |
Description |
---|---|---|---|---|
InputWorkspace |
Input |
Mandatory |
An input workspace. |
|
OutputWorkspace |
Output |
Mandatory |
An output workspace. |
|
AddMinimum |
Input |
boolean |
True |
Add the minimum value of the spectrum to bring it up to zero. |
ResetValue |
Input |
number |
0 |
Reset negative values to this number (default=0) |
Description¶
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 ResetValue
which has a
default of 0.
Categories: AlgorithmIndex | CorrectionFunctions\SpecialCorrections
Source¶
C++ header: ResetNegatives.h
C++ source: ResetNegatives.cpp