Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | IMDWorkspace | Mandatory | A MDEventWorkspace or MDHistoWorkspace on which to apply the operation. |
OutputWorkspace | Output | IMDWorkspace | Mandatory | Name of the output MDEventWorkspace or MDHistoWorkspace. |
Filler | Input | number | 0 | Some values in a workspace can normally be zeros or may get negative values after transformations log(x) is not defined for such values, so here is the value, that will be placed as the result of log(x<=0) operation Default value is 0 |
Natural | Input | boolean | True | Switch to choose between natural or base 10 logarithm. Default true (natural). |
This executes the natural logarithm operation on a MDHistoWorkspace.
The signal becomes
The error becomes
This algorithm cannot be run on a MDEventWorkspace. Its equivalent on a MatrixWorkspace is called Logarithm v1.
Categories: Algorithms | MDAlgorithms\MDArithmetic
C++ source: LogarithmMD.cpp (last modified: 2016-06-14)
C++ header: LogarithmMD.h (last modified: 2016-06-14)