9#include "MantidAlgorithms/DllConfig.h"
34 void iterate(
const std::vector<double> &data,
const std::vector<double> &errors,
const std::vector<double> &image,
35 double background,
const std::vector<double> &linearAdjustments,
36 const std::vector<double> &constAdjustments);
40 std::vector<double> getReconstructedData()
const;
42 std::vector<double> getImage()
const;
46 std::vector<std::vector<double>> getSearchDirections()
const;
48 double getAngle()
const;
52 std::vector<double> calculateData(
const std::vector<double> &image)
const;
53 std::vector<double> calculateImage(
const std::vector<double> &data)
const;
54 double calculateChiSquared(
const std::vector<double> &data)
const;
58 std::vector<double> calculateChiGrad()
const;
60 void calculateChisq();
MaxentCalculator : This class performs one maxent iteration and calculates chi-sq,...
std::vector< double > m_data
virtual ~MaxentCalculator()=default
QuadraticCoefficients m_coeffs
std::vector< double > m_errors
MaxentTransform_sptr m_transform
MaxentCalculator()=delete
std::vector< std::vector< double > > m_directionsIm
MaxentEntropy_sptr m_entropy
std::vector< double > m_dataCalc
std::vector< double > m_image
std::shared_ptr< MaxentTransform > MaxentTransform_sptr
std::shared_ptr< MaxentEntropy > MaxentEntropy_sptr
Helper class which provides the Collimation Length for SANS instruments.