10#include "MantidCurveFitting/DllConfig.h"
13namespace CurveFitting {
45 double height()
const override;
46 double centre()
const override;
47 double fwhm()
const override;
48 double leftShape()
const;
49 double rightShape()
const;
51 void setCentre(
const double newCentre)
override;
52 void setHeight(
const double newHight)
override;
53 void setFwhm(
const double newFwhm)
override;
54 void setLeftShape(
const double newLeftShape);
55 void setRightShape(
const double newRightShape);
58 std::string
name()
const override {
return "AsymmetricPearsonVII"; }
59 const std::string
category()
const override {
return "XrayDiffraction"; }
61 double activeParameter(
size_t i)
const override;
62 void setActiveParameter(
size_t i,
double value)
override;
64 double getPearsonVII(
double peak_height,
double offset,
double weight,
double m)
const;
65 double getPearsonVIIDerivWRTh(
double offset,
double weight,
double m)
const;
66 double getPearsonVIIDerivWRTc(
double peak_height,
double offset,
double weight,
double m)
const;
67 double getPearsonVIIDerivWRTw(
double peak_height,
double offset,
double weight,
double m)
const;
68 double getPearsonVIIDerivWRTm(
double peak_height,
double offset,
double weight,
double m)
const;
70 double getPearsonVIILimitmEq0(
double peak_height)
const;
71 double getPearsonVIIDerivWRThLimitmEq0()
const;
72 double getPearsonVIIDerivWRTcLimitmEq0()
const;
73 double getPearsonVIIDerivWRTwLimitmEq0()
const;
74 double getPearsonVIIDerivWRTmLimitmEq0(
double peak_height,
double offset,
double weight)
const;
77 void functionLocal(
double *out,
const double *xValues,
const size_t nData)
const override;
78 void functionDerivLocal(
API::Jacobian *out,
const double *xValues,
const size_t nData)
override;
double value
The value of the point.
An interface to a peak function, which extend the interface of IFunctionWithLocation by adding method...
Represents the Jacobian in IFitFunction::functionDeriv.
Provides an implementation of the asymmetric PearsonVII function (sometimes it is also referred to as...
const std::string category() const override
The categories the Fit function belong to.
std::string name() const override
Override IFunction base class methods.
double m_derivative_function(double peak_height, double offset_sq, double weight_sq, double m)
double denominator_function(double offset_sq, double weight_sq, double m)
double derivative_function(double peak_height, double offset, double weight, double m)
Helper class which provides the Collimation Length for SANS instruments.