13#include "MantidCurveFitting/DllConfig.h"
17namespace CurveFitting {
40 double centre()
const override;
42 double height()
const override;
43 double fwhm()
const override;
44 double intensity()
const override;
45 double intensityError()
const override;
46 void setCentre(
const double c)
override;
47 void setHeight(
const double h)
override;
48 void setFwhm(
const double w)
override;
49 void setIntensity(
const double i)
override;
51 void fixCentre(
bool isDefault =
false)
override;
52 void unfixCentre()
override;
53 void fixIntensity(
bool isDefault =
false)
override;
54 void unfixIntensity()
override;
57 std::string
name()
const override {
return "Gaussian"; }
58 const std::string
category()
const override {
return "Peak; Muon\\MuonModelling"; }
59 void setActiveParameter(
size_t i,
double value)
override;
60 double activeParameter(
size_t i)
const override;
63 void functionLocal(
double *out,
const double *xValues,
const size_t nData)
const override;
64 void functionDerivLocal(
API::Jacobian *out,
const double *xValues,
const size_t nData)
override;
68 void histogram1D(
double *out,
double left,
const double *
right,
const size_t nBins)
const override;
71 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.
std::string getWidthParameterName() const override
Get the name of the parameter that is changed when the fwhm is changed.
Helper class which provides the Collimation Length for SANS instruments.