10#include "MantidCurveFitting/DllConfig.h"
16namespace CurveFitting {
31 std::string
name()
const override {
return "ThermalNeutronBk2BkExpConvPVoigt"; }
32 const std::string
category()
const override {
return "General"; }
52 double getPeakParameter(
const std::string &)
override;
55 void calculateParameters(
bool explicitoutput)
const override;
70 void setParameter(
size_t i,
const double &
value,
bool explicitlySet =
true)
override;
73 void setParameter(
const std::string &name,
const double &
value,
bool explicitlySet =
true)
override;
80 using IFunction1D::function;
81 void function(std::vector<double> &out,
const std::vector<double> &xValues)
const override;
84 void function1D(
double *out,
const double *xValues,
const size_t nData)
const override;
89 void functionLocal(
double *out,
const double *xValues,
const size_t nData)
const;
91 virtual void functionDerivLocal(
API::Jacobian *out,
const double *xValues,
const size_t nData);
102 void calHandEta(
double sigma2,
double gamma,
double &H,
double &eta)
const;
108 double calOmega(
const double x,
const double eta,
const double N,
const double alpha,
const double beta,
109 const double H,
const double sigma2,
const double invert_sqrt2sigma,
110 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.