13namespace CurveFitting {
23 std::string
name()
const override {
return "FullprofPolynomial"; }
25 const std::string
category()
const override {
return "Background"; }
27 void function1D(
double *out,
const double *xValues,
const size_t nData)
const override;
29 void functionDeriv1D(
API::Jacobian *out,
const double *xValues,
const size_t nData)
override;
39 std::vector<std::string> getAttributeNames()
const override;
42 Attribute getAttribute(
const std::string &attName)
const override;
45 void setAttribute(
const std::string &attName,
const Attribute &)
override;
48 bool hasAttribute(
const std::string &attName)
const override;
Attribute is a non-fitting parameter.
Represents the Jacobian in IFitFunction::functionDeriv.
FullprofPolynomial : Polynomial background defined in Fullprof.
size_t nAttributes() const override
Returns the number of attributes associated with the function (polynomial order n)
const std::string category() const override
overwrite IFunction base class methods
std::string name() const override
Overwrite IFunction base class.
double m_bkpos
Background origin position.
std::shared_ptr< FullprofPolynomial > FullprofPolynomial_sptr
Helper class which provides the Collimation Length for SANS instruments.