11#include "MantidCurveFitting/DllConfig.h"
15namespace CurveFitting {
25 std::string
name()
const override {
return "CrystalFieldMultiSpectrum"; }
26 const std::string
category()
const override {
return "General"; }
27 size_t getNumberDomains()
const override;
28 void setAttribute(
const std::string &name,
const Attribute &)
override;
29 std::vector<API::IFunction_sptr> createEquivalentFunctions()
const override;
30 void buildTargetFunction()
const override;
39 void updateTargetFunction()
const override;
44 double temperature,
double fwhm,
size_t i)
const;
58 mutable std::vector<std::vector<double>>
m_fwhmX;
59 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.
const std::string category() const override
The categories the Fit function belong to.
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.