40 const std::string
name()
const override {
return "Logarithm"; }
42 const std::string
summary()
const override {
43 return "Logarithm function calculates the logarithm of the data, held in a "
44 "workspace. A user can choose between natural (default) or base 10 "
49 int version()
const override {
return (1); }
50 const std::vector<std::string>
seeAlso()
const override {
return {
"Power",
"Exponential"}; }
52 const std::string
category()
const override {
return "Arithmetic"; }
61 void defineProperties()
override;
63 void retrieveProperties()
override;
66 void performUnaryOperation(
const double XIn,
const double YIn,
const double EIn,
double &YOut,
double &EOut)
override;
Takes a workspace as input and calculates the natural logarithm of number of counts for each 1D spect...
int version() const override
Algorithm's version for identification.
double log_Min
The value to replace ln(0)
const std::string category() const override
Algorithm's category for identification.
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.
const std::string name() const override
Algorithm's name for identification.
bool is_natural
If the logarithm natural or 10-based.
UnaryOperation supports the implementation of a Unary operation on an input workspace.
Helper class which provides the Collimation Length for SANS instruments.