11#include "MantidCurveFitting/DllConfig.h"
16namespace CurveFitting {
31 double centre()
const override;
32 double height()
const override;
33 double fwhm()
const override;
34 void setCentre(
const double c)
override;
35 void setHeight(
const double h)
override;
36 void setFwhm(
const double w)
override;
39 std::string
name()
const override {
return "Bk2BkExpConvPV"; }
40 const std::string
category()
const override {
return "Peak"; }
45 void geneatePeak(
double *out,
const double *xValues,
const size_t nData);
47 void setMatrixWorkspace(std::shared_ptr<const API::MatrixWorkspace>
workspace,
size_t wi,
double startX,
48 double endX)
override;
51 void functionLocal(
double *out,
const double *xValues,
const size_t nData)
const override;
52 void functionDerivLocal(
API::Jacobian *out,
const double *xValues,
const size_t nData)
override;
62 double calOmega(
double x,
double eta,
double N,
double alpha,
double beta,
double H,
double sigma2,
63 double invert_sqrt2sigma)
const;
65 std::complex<double>
E1(std::complex<double> z)
const;
67 void calHandEta(
double sigma2,
double gamma,
double &H,
double &eta)
const;
68 double expWidth()
const;
IPeaksWorkspace_sptr workspace
Base class that represents the domain of a function.
This is a specialization of IFunction for functions defined on a MatrixWorkspace.
An interface to a peak function, which extend the interface of IFunctionWithLocation by adding method...
Represents the Jacobian in IFitFunction::functionDeriv.
Bk2BkExpConvPV : Peak profile as tback-to-back exponential convoluted with pseudo-Voigt.
std::complex< double > E1(std::complex< double > z) const
const std::string category() const override
The categories the Fit function belong to.
std::vector< double > m_dtt1
container for storing wavelength values for each data point
std::string name() const override
overwrite IFunction base class methods
Bk2BkExpConvPV()=default
Default constructor.
std::shared_ptr< Bk2BkExpConvPV > Bk2BkExpConvPV_sptr
Helper class which provides the Collimation Length for SANS instruments.