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 becomes
The error becomes
This algorithm cannot be run on a MDEventWorkspace. Its equivalent on a MatrixWorkspace is called Power v1.
Categories: Algorithm Index | MDAlgorithms\MDArithmetic
C++ source: PowerMD.cpp (last modified: 2018-10-05)
C++ header: PowerMD.h (last modified: 2018-10-05)