11#include "MantidCurveFitting/DllConfig.h"
15namespace CurveFitting {
25 std::string
name()
const override {
return "CrystalFieldMultiSpectrum"; }
26 size_t getNumberDomains()
const override;
27 void setAttribute(
const std::string &
name,
const Attribute &)
override;
28 std::vector<API::IFunction_sptr> createEquivalentFunctions()
const override;
29 void buildTargetFunction()
const override;
38 void updateTargetFunction()
const override;
43 double temperature,
double fwhm,
size_t i)
const;
57 mutable std::vector<std::vector<double>>
m_fwhmX;
58 mutable std::vector<std::vector<double>>
m_fwhmY;
FunctionGenerator is a partial implementation of IFunction that defines a function consisting of two ...
A class to store values calculated by a function.
Attribute is a non-fitting parameter.
This is an interface to a fitting function - a semi-abstarct class.
Calculates crystal field spectra.
std::vector< std::vector< double > > m_fwhmX
Caches of the width functions.
std::vector< size_t > m_nPeaks
Cache number of fitted peaks.
std::vector< double > m_temperatures
Cache the temperatures.
std::vector< std::vector< double > > m_fwhmY
std::vector< double > m_FWHMs
Cache the default peak FWHMs.
std::string name() const override
Returns the function's name.
std::vector< int > m_physprops
Cache the list of "spectra" corresponding to physical properties.
std::shared_ptr< IFunction > IFunction_sptr
shared pointer to the function base class
Helper class which provides the Collimation Length for SANS instruments.