40 const std::string
name()
const override {
return "PowerLawCorrection"; }
42 const std::string
summary()
const override {
43 return "Corrects the data and error values on a workspace by the value of "
44 "an exponential function which is evaluated at the X value of each "
45 "data point: c0*x^C1. The data and error values are multiplied by "
46 "the value of this function.";
50 int version()
const override {
return 1; }
51 const std::vector<std::string>
seeAlso()
const override {
52 return {
"PolynomialCorrection",
"OneMinusExponentialCor",
"MagFormFactorCorrection",
"ExponentialCorrection"};
55 const std::string
category()
const override {
return "CorrectionFunctions"; }
59 void defineProperties()
override;
60 void retrieveProperties()
override;
61 void performUnaryOperation(
const double XIn,
const double YIn,
const double EIn,
double &YOut,
double &EOut)
override;
Corrects the data and error values on a workspace by the value of an exponential function which is ev...
const std::string name() const override
Algorithm's name for identification.
int version() const override
Algorithm's version for identification.
double m_c0
The constant by which to multiply.
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
double m_c1
The power to raise by.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
UnaryOperation supports the implementation of a Unary operation on an input workspace.
Helper class which provides the Collimation Length for SANS instruments.