10#include "MantidCurveFitting/DllConfig.h"
13namespace CurveFitting {
29 std::string
name()
const override {
return "NeutronBk2BkExpConvPVoigt"; }
32 const std::string
category()
const override {
return "General"; }
35 double getPeakParameter(
const std::string &)
override;
38 void calculateParameters(
bool explicitoutput)
const override;
41 void setParameter(
size_t i,
const double &
value,
bool explicitlySet =
true)
override;
44 void setParameter(
const std::string &
name,
const double &
value,
bool explicitlySet =
true)
override;
51 using IFunction1D::function;
52 void function(std::vector<double> &out,
const std::vector<double> &xValues)
const override;
55 void function1D(
double *out,
const double *xValues,
const size_t nData)
const override;
74 void calHandEta(
double sigma2,
double gamma,
double &H,
double &eta)
const;
77 double calOmega(
const double x,
const double eta,
const double N,
const double alpha,
const double beta,
78 const double H,
const double sigma2,
const double invert_sqrt2sigma,
79 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.