|
Mantid
|
MaxentEntropyNegativeValues : Class defining the entropy of a 'PosNeg' image (i.e. More...
#include <MaxentEntropyNegativeValues.h>
Public Member Functions | |
| std::vector< double > | correctValues (const std::vector< double > &values, double newValue) override |
| Corrects the image. 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 |
MaxentEntropyNegativeValues : Class defining the entropy of a 'PosNeg' image (i.e.
a set of real numbers). References:
Definition at line 21 of file MaxentEntropyNegativeValues.h.
|
overridevirtual |
Corrects the image.
For PosNeg images there is nothing to correct so we just return the vector we were given
| values | : [input] The values of the image as a vector |
| newValue | : [input] The new value to use (unused variable) |
Implements Mantid::Algorithms::MaxentEntropy.
Definition at line 57 of file MaxentEntropyNegativeValues.cpp.
References UNUSED_ARG.
|
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 MaxentEntropyNegativeValues.cpp.
|
overridevirtual |
Returns the second 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 36 of file MaxentEntropyNegativeValues.cpp.