13#include "MantidCurveFitting/DllConfig.h"
17namespace CurveFitting {
40 double centre()
const override;
41 double height()
const override;
42 double fwhm()
const override;
43 double intensity()
const override;
44 double intensityError()
const override;
45 void setCentre(
const double c)
override;
46 void setHeight(
const double h)
override;
47 void setFwhm(
const double w)
override;
48 void setIntensity(
const double i)
override;
50 void fixCentre(
bool isDefault =
false)
override;
51 void unfixCentre()
override;
52 void fixIntensity(
bool isDefault =
false)
override;
53 void unfixIntensity()
override;
56 std::string
name()
const override {
return "Gaussian"; }
57 const std::string
category()
const override {
return "Peak; Muon\\MuonModelling"; }
58 void setActiveParameter(
size_t i,
double value)
override;
59 double activeParameter(
size_t i)
const override;
62 void functionLocal(
double *out,
const double *xValues,
const size_t nData)
const override;
63 void functionDerivLocal(
API::Jacobian *out,
const double *xValues,
const size_t nData)
override;
67 void histogram1D(
double *out,
double left,
const double *
right,
const size_t nBins)
const override;
70 const size_t nBins)
const 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.
Provide gaussian peak shape function interface to IPeakFunction.
const std::string category() const override
The categories the Fit function belong to.
std::string name() const override
overwrite IFunction base class methods
double m_intensityCache
Intensity cache to help recover form Sigma==0 situation.
Helper class which provides the Collimation Length for SANS instruments.