10#include "MantidCurveFitting/DllConfig.h"
15namespace CurveFitting {
30 std::string
name()
const override {
return "ThermalNeutronBk2BkExpConvPVoigt"; }
31 const std::string
category()
const override {
return "General"; }
51 double getPeakParameter(
const std::string &)
override;
54 void calculateParameters(
bool explicitoutput)
const override;
69 void setParameter(
size_t i,
const double &
value,
bool explicitlySet =
true)
override;
72 void setParameter(
const std::string &
name,
const double &
value,
bool explicitlySet =
true)
override;
79 using IFunction1D::function;
80 void function(std::vector<double> &out,
const std::vector<double> &xValues)
const override;
83 void function1D(
double *out,
const double *xValues,
const size_t nData)
const override;
88 void functionLocal(
double *out,
const double *xValues,
const size_t nData)
const;
90 virtual void functionDerivLocal(
API::Jacobian *out,
const double *xValues,
const size_t nData);
101 void calHandEta(
double sigma2,
double gamma,
double &H,
double &eta)
const;
107 double calOmega(
const double x,
const double eta,
const double N,
const double alpha,
const double beta,
108 const double H,
const double sigma2,
const double invert_sqrt2sigma,
109 const bool explicitoutput =
false)
const;
double value
The value of the point.
Base class that represents the domain of a function.
An interface to a peak function, which extend the interface of IFunctionWithLocation by adding method...
Represents the Jacobian in IFitFunction::functionDeriv.
ThermalNeutronBk2BkExpConvPVoigt : Back-to-back exponential convoluted with pseudo Voigt for thermal ...
std::string name() const override
Overwrite IFunction base class methods.
void interruption_point() const
Override setting a new value to the.
bool m_parallelException
Set if an exception is thrown, and not caught, within a parallel region.
bool m_cancel
Set to true to stop execution.
static int s_peakRadius
Default value for the peak radius.
double m_Alpha
Set 2 functions to be hidden from client.
bool m_dspaceCalculated
Flag to show whether the unit cell has been calcualted.
double calPeakCenter() const
Calculate peak center.
const std::string category() const override
The categories the Fit function belong to.
std::shared_ptr< ThermalNeutronBk2BkExpConvPVoigt > ThermalNeutronBk2BkExpConvPVoigt_sptr
Shared pointer to ThermalNeutronBk2BkExpConvPVoigt peak/function.
Helper class which provides the Collimation Length for SANS instruments.