10#include "MantidCurveFitting/DllConfig.h"
14namespace CurveFitting {
30 std::string
name()
const override {
return "NeutronBk2BkExpConvPVoigt"; }
33 const std::string
category()
const override {
return "General"; }
36 double getPeakParameter(
const std::string &)
override;
39 void calculateParameters(
bool explicitoutput)
const override;
42 void setParameter(
size_t i,
const double &
value,
bool explicitlySet =
true)
override;
45 void setParameter(
const std::string &name,
const double &
value,
bool explicitlySet =
true)
override;
52 using IFunction1D::function;
53 void function(std::vector<double> &out,
const std::vector<double> &xValues)
const override;
56 void function1D(
double *out,
const double *xValues,
const size_t nData)
const override;
75 void calHandEta(
double sigma2,
double gamma,
double &H,
double &eta)
const;
78 double calOmega(
const double x,
const double eta,
const double N,
const double alpha,
const double beta,
79 const double H,
const double sigma2,
const double invert_sqrt2sigma,
80 const bool explicitoutput =
false)
const;
double value
The value of the point.
An interface to a peak function, which extend the interface of IFunctionWithLocation by adding method...
NeutronBk2BkExpConvPVoigt : Back-to-back exponential function convoluted with pseudo-voigt for epithe...
static int s_peakRadius
Default value for the peak radius.
std::string name() const override
Overwrite IFunction base class method: name.
const std::string category() const override
Overwrite IFunction base class method: category.
double m_Alpha
Set 2 functions to be hidden from client.
Helper class which provides the Collimation Length for SANS instruments.