19namespace CurveFitting {
52 std::string
name()
const override {
return "InelasticDiffSphere"; }
55 const std::string
category()
const override {
return "QuasiElastic"; }
58 std::vector<double> LorentzianCoefficients(
double a)
const;
61 void function1D(
double *out,
const double *xValues,
const size_t nData)
const override;
68 void initAlphaCoeff();
75 void setWorkspace(std::shared_ptr<const API::Workspace> ws)
override;
This is a specialization of IFunction1D for functions having the magnitude of the momentum transfer (...
Inelastic part of the DiffSphere function.
size_t m_lmax
maximum value of l in xnlist
double m_divZone
linear interpolation zone around the numerical divergence of factor J
const std::string category() const override
overwrite IFunction base class methods
std::string name() const override
overwrite IFunction base class methods
std::vector< xnlc > m_xnl
xnl coefficients
double m_hbar
Plank's constant divided by , in units of meV*THz.
std::vector< double > m_alpha
certain coefficients invariant during fitting
std::vector< linearJ > m_linearJlist
list of linearized J values
std::vector< double > m_qValueCache
list of calculated Q values
Helper class which provides the Collimation Length for SANS instruments.
simple structure to hold a linear interpolation of factor J around its numerical divergence point
structure to hold info on Volino's coefficients