OneMinusExponentialCor
From MantidProject
Contents |
Summary
Corrects the data in a workspace by one minus the value of an exponential function.
Properties
| Order | Name | Direction | Type | Default | Description |
|---|---|---|---|---|---|
| 1 | InputWorkspace | Input | MatrixWorkspace | Mandatory | The name of the workspace to apply the correction to. |
| 2 | OutputWorkspace | Output | MatrixWorkspace | Mandatory | The name to use for the corrected workspace (can be the same as the input one). |
| 3 | C | Input | double | 1.0 | The positive value by which the entire exponent calculation is multiplied (see formula below). |
| 4 | C1 | Input | double | 1.0 | The value by which the entire calculation is multiplied (see formula below).. |
| 5 | Operation | Input | string | Divide | Whether to divide (the default) or multiply the data by the correction function. |
Description
This algorithm corrects the data and error values on a workspace by the value of one minus an exponential function of the form C1(1 − e − Cx). This formula is calculated for each data point, with the value of x being the mid-point of the bin in the case of histogram data. The data and error values are either divided or multiplied by the value of this function, according to the setting of the Operation property.
Source Code
Header OneMinusExponentialCor.h
Source OneMinusExponentialCor.cpp
