9#include "MantidCurveFitting/DllConfig.h"
13namespace CurveFitting {
29 std::string name()
const override;
31 void declareParameters()
override;
33 void declareAttributes()
override;
35 void setAttribute(
const std::string &name,
const Attribute &
value)
override;
37 void setHermiteCoefficients(
const std::string &coeffs);
39 void declareGramCharlierParameters();
42 std::vector<size_t> intensityParameterIndices()
const override;
45 const HistogramData::HistogramE &errors)
const override;
47 void massProfile(
double *result,
const size_t nData)
const override;
50 void addMassProfile(
double *result,
const unsigned int npoly)
const;
53 void addFSETerm(std::vector<double> &lhs)
const;
55 void convoluteVoigt(
double *result,
const size_t nData,
const std::vector<double> &profile)
const;
57 void setMatrixWorkspace(std::shared_ptr<const API::MatrixWorkspace>
workspace,
size_t wi,
double startX,
58 double endX)
override;
double value
The value of the point.
IPeaksWorkspace_sptr workspace
Attribute is a non-fitting parameter.
This class serves as a base-class for ComptonProfile type functions.
Implements a function to calculate the Compton profile of a nucleus using a Gram-Charlier approximati...
std::vector< double > m_qfine
Interpolated Q values over a finer Y range.
std::vector< double > m_yfine
Y values over a finer range.
std::vector< double > m_voigtProfile
Holds the result Voigt multiplied by the profile function for the extended Y space range.
bool m_userFixedFSE
Flag to hold whether the FSE parameter is fixed by the user.
std::vector< short > m_hermite
The active hermite coefficents.
std::vector< std::vector< double > > m_voigt
Holds the value of the Voigt function for each coarse y-space point as this is an expensive calculati...
Helper class which provides the Collimation Length for SANS instruments.
Simple data structure to store nominal detector values It avoids some functions taking a huge number ...