Mantid
|
MaxentEntropyPositiveValues : Class defining the entropy of a positive image (i.e. More...
#include <MaxentEntropyPositiveValues.h>
Public Member Functions | |
std::vector< double > | correctValues (const std::vector< double > &values, double newValue) override |
Corrects a negative value. More... | |
std::vector< double > | derivative (const std::vector< double > &values, double background) override |
Returns the first derivative at a given point. More... | |
std::vector< double > | secondDerivative (const std::vector< double > &values, double background) override |
Returns the second derivative at a given point. More... | |
Public Member Functions inherited from Mantid::Algorithms::MaxentEntropy | |
virtual std::vector< double > | correctValues (const std::vector< double > &value, double newValue)=0 |
virtual std::vector< double > | derivative (const std::vector< double > &values, double background)=0 |
MaxentEntropy ()=default | |
virtual std::vector< double > | secondDerivative (const std::vector< double > &values, double background)=0 |
virtual | ~MaxentEntropy ()=default |
MaxentEntropyPositiveValues : Class defining the entropy of a positive image (i.e.
a set of positive numbers). See J. Skilling and R. K Bryan, "Maximum entropy image reconstruction: general algorithm".
Definition at line 18 of file MaxentEntropyPositiveValues.h.
|
overridevirtual |
Corrects a negative value.
values | : [input] The values of the image as a vector |
newValue | : [input] The new value to use |
Implements Mantid::Algorithms::MaxentEntropy.
Definition at line 50 of file MaxentEntropyPositiveValues.cpp.
|
overridevirtual |
Returns the first derivative at a given point.
values | : [input] The values of the image as a vector |
background | : [input] The background |
Implements Mantid::Algorithms::MaxentEntropy.
Definition at line 18 of file MaxentEntropyPositiveValues.cpp.
|
overridevirtual |
Returns the second derivative at a given point.
values | : [input] The values of the image as a vector |
background | : [input] The background (unused) |
Implements Mantid::Algorithms::MaxentEntropy.
Definition at line 35 of file MaxentEntropyPositiveValues.cpp.
References UNUSED_ARG.