PowerMD v1

../_images/PowerMD-v1_dlg.png

PowerMD dialog.

Summary

Raise a MDHistoWorkspace to a power

Properties

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.

Description

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: Algorithm Index | MDAlgorithms\MDArithmetic

Source

C++ source: PowerMD.cpp (last modified: 2018-10-05)

C++ header: PowerMD.h (last modified: 2018-10-05)