22 "The value that will be placed into the "
23 "output workspace if an input value is equal "
24 "or less than 0. Default value is 0");
26 "Logical value which specifies if user "
27 "wants to calculate natural or base 10 "
47 YOut = std::log10(YIn);
48 EOut = 0.434 * EIn / YIn;
#define DECLARE_ALGORITHM(classname)
void declareProperty(std::unique_ptr< Kernel::Property > p, const std::string &doc="") override
Add a property to the list of managed properties.
TypedValue getProperty(const std::string &name) const override
Get the value of a property.
Takes a workspace as input and calculates the natural logarithm of number of counts for each 1D spect...
void defineProperties() override
Declare additional properties for this algorithm.
void performUnaryOperation(const double XIn, const double YIn, const double EIn, double &YOut, double &EOut) override
Actually the function, which is run on values when the operation is performed.
double log_Min
The value to replace ln(0)
void retrieveProperties() override
get properties from GUI
bool is_natural
If the logarithm natural or 10-based.
UnaryOperation supports the implementation of a Unary operation on an input workspace.