ResetNegatives v1

../_images/ResetNegatives-v1_dlg.png

ResetNegatives dialog.

Table of Contents

Summary

Reset negative values to something else.

Properties

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 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 -1*min 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 | CorrectionFunctions\SpecialCorrections

Source

C++ source: ResetNegatives.cpp (last modified: 2017-05-26)

C++ header: ResetNegatives.h (last modified: 2016-06-13)