44 const std::string
name()
const override {
return "OneMinusExponentialCor"; }
46 const std::string
summary()
const override {
47 return "Corrects the data in a workspace by one minus the value of an "
48 "exponential function.";
52 int version()
const override {
return 1; }
53 const std::vector<std::string>
seeAlso()
const override {
54 return {
"MagFormFactorCorrection",
"ExponentialCorrection",
"PowerLawCorrection"};
57 const std::string
category()
const override {
return "CorrectionFunctions"; }
61 void defineProperties()
override;
62 void retrieveProperties()
override;
63 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 one minus the value of an exponential function w...
int version() const override
Algorithm's version for identification.
double m_c1
The multiplier.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
bool m_divide
Whether the data should be divided by the correction (true) or multiplied by it (false)
const std::string name() const override
Algorithm's name for identification.
const std::string summary() const override
Summary of algorithms purpose.
double m_c
The constant term in the exponent.
UnaryOperation supports the implementation of a Unary operation on an input workspace.
Helper class which provides the Collimation Length for SANS instruments.