\(\renewcommand\AA{\unicode{x212B}}\)
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. |
Exponent | Input | number | 2 | Power to which to raise the values. Default 2.0. |
This executes the power function on a MDHistoWorkspace.
The signal \(a\) becomes \(f = a^b\)
The error \(da\) becomes \(df^2 = f^2 * b^2 * (da^2 / a^2)\)
This algorithm cannot be run on a MDEventWorkspace. Its equivalent on a MatrixWorkspace is called Power v1.
Categories: AlgorithmIndex | MDAlgorithms\MDArithmetic
C++ header: PowerMD.h (last modified: 2020-03-20)
C++ source: PowerMD.cpp (last modified: 2020-03-20)