19namespace MantidWidgets {
27 bool hasFunction()
const override;
28 void addFunction(
const QString &prefix,
const QString &funStr)
override;
29 void removeFunction(
const QString &functionIndex)
override;
30 void setParameter(
const QString ¶mName,
double value)
override;
32 void setParameterError(
const QString ¶mName,
double value)
override;
33 double getParameter(
const QString ¶mName)
const override;
34 double getParameterError(
const QString ¶mName)
const override;
36 QString getParameterDescription(
const QString ¶mName)
const override;
37 bool isParameterFixed(
const QString &parName)
const;
38 QString getParameterTie(
const QString &parName)
const;
39 void setParameterFixed(
const QString &parName,
bool fixed);
40 void setParameterTie(
const QString &parName,
const QString &tie);
41 QStringList getParameterNames()
const override;
42 QStringList getAttributeNames()
const;
45 void setNumberDomains(
int)
override;
46 void setDatasets(
const QStringList &datasetNames);
48 void addDatasets(
const QStringList &datasetNames);
50 QStringList getDatasetNames()
const override;
51 QStringList getDatasetDomainNames()
const override;
52 int getNumberDomains()
const override;
53 int currentDomainIndex()
const override;
54 void setCurrentDomainIndex(
int)
override;
55 double getLocalParameterValue(
const QString &parName,
int i)
const override;
56 bool isLocalParameterFixed(
const QString &parName,
int i)
const override;
57 QString getLocalParameterTie(
const QString &parName,
int i)
const override;
58 QString getLocalParameterConstraint(
const QString &parName,
int i)
const override;
59 void setLocalParameterValue(
const QString &parName,
int i,
double value)
override;
60 void setLocalParameterValue(
const QString &parName,
int i,
double value,
double error)
override;
61 void setLocalParameterFixed(
const QString &parName,
int i,
bool fixed)
override;
62 void setLocalParameterTie(
const QString &parName,
int i,
const QString &tie)
override;
63 void setLocalParameterConstraint(
const QString &parName,
int i,
const QString &constraint)
override;
64 void setGlobalParameterValue(
const QString ¶mName,
double value)
override;
65 void changeTie(
const QString &parName,
const QString &tie)
override;
66 void addConstraint(
const QString &functionIndex,
const QString &constraint)
override;
67 void removeConstraint(
const QString ¶mName)
override;
68 QStringList getGlobalParameters()
const override;
69 void setGlobalParameters(
const QStringList &globals)
override;
70 bool isGlobal(
const QString &parName)
const override;
71 QStringList getLocalParameters()
const override;
72 void updateMultiDatasetParameters(
const IFunction &fun)
override;
73 void updateMultiDatasetAttributes(
const IFunction &fun);
74 void updateParameters(
const IFunction &fun)
override;
75 QString setBackgroundA0(
double value)
override;
78 size_t m_numberDomains = 0;
87 void checkIndex(
int)
const;
91 size_t m_currentDomainIndex = 0;
#define EXPORT_OPT_MANTIDQT_COMMON
double value
The value of the point.
IPeaksWorkspace_sptr workspace
std::map< DeltaEMode::Type, std::string > index
Attribute is a non-fitting parameter.
This is an interface to a fitting function - a semi-abstarct class.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
std::shared_ptr< MultiDomainFunction > MultiDomainFunction_sptr
Shared pointer to Mantid::API::MultiDomainFunction.
std::shared_ptr< IFunction > IFunction_sptr
shared pointer to the function base class
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class