Mantid
|
#include <IFunctionModel.h>
Public Member Functions | |
virtual void | addConstraint (const QString &functionIndex, const QString &constraint)=0 |
virtual void | addFunction (const QString &prefix, const QString &funStr)=0 |
virtual void | changeTie (const QString ¶mName, const QString &tie)=0 |
void | clear () |
virtual int | currentDomainIndex () const =0 |
virtual IFunction_sptr | getCurrentFunction () const =0 |
virtual QStringList | getDatasetDomainNames () const =0 |
virtual QStringList | getDatasetNames () const =0 |
virtual IFunction_sptr | getFitFunction () const =0 |
QString | getFitFunctionString () const |
QString | getFunctionString () const |
virtual QStringList | getGlobalParameters () const =0 |
virtual QString | getLocalParameterConstraint (const QString &parName, int i) const =0 |
virtual QStringList | getLocalParameters () const =0 |
virtual QString | getLocalParameterTie (const QString &parName, int i) const =0 |
virtual double | getLocalParameterValue (const QString &parName, int i) const =0 |
virtual int | getNumberDomains () const =0 |
int | getNumberLocalFunctions () const |
virtual double | getParameter (const QString ¶mName) const =0 |
virtual QString | getParameterDescription (const QString ¶mName) const =0 |
virtual double | getParameterError (const QString ¶mName) const =0 |
virtual QStringList | getParameterNames () const =0 |
virtual IFunction_sptr | getSingleFunction (int index) const =0 |
virtual bool | hasFunction () const =0 |
virtual bool | isGlobal (const QString &parName) const =0 |
virtual bool | isLocalParameterFixed (const QString &parName, int i) const =0 |
virtual void | removeConstraint (const QString ¶mName)=0 |
virtual void | removeFunction (const QString &functionIndex)=0 |
virtual QString | setBackgroundA0 (double value)=0 |
virtual void | setCurrentDomainIndex (int)=0 |
virtual void | setDatasets (const QList< FunctionModelDataset > &datasets)=0 |
virtual void | setFunction (IFunction_sptr fun)=0 |
void | setFunctionString (const QString &funStr) |
virtual void | setGlobalParameters (const QStringList &globals)=0 |
virtual void | setGlobalParameterValue (const QString ¶mName, double value)=0 |
virtual void | setLocalParameterConstraint (const QString &parName, int i, const QString &constraint)=0 |
virtual void | setLocalParameterFixed (const QString &parName, int i, bool fixed)=0 |
virtual void | setLocalParameterTie (const QString &parName, int i, const QString &tie)=0 |
virtual void | setLocalParameterValue (const QString &parName, int i, double value)=0 |
virtual void | setLocalParameterValue (const QString &parName, int i, double value, double error)=0 |
virtual void | setNumberDomains (int)=0 |
virtual void | setParameter (const QString ¶mName, double value)=0 |
virtual void | setParameterError (const QString ¶mName, double value)=0 |
virtual void | updateMultiDatasetParameters (const IFunction &fun)=0 |
virtual void | updateParameters (const IFunction &fun)=0 |
virtual | ~IFunctionModel ()=default |
Protected Member Functions | |
void | copyParametersAndErrorsToAllLocalFunctions (const IFunction &fun) |
Static Protected Member Functions | |
static void | copyParametersAndErrors (const IFunction &funFrom, IFunction &funTo) |
Definition at line 24 of file IFunctionModel.h.
|
virtualdefault |
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
void MantidQt::MantidWidgets::IFunctionModel::clear | ( | ) |
Definition at line 37 of file IFunctionModel.cpp.
References setFunction().
Referenced by MantidQt::MantidWidgets::FunctionModel::removeFunction(), and setFunctionString().
|
staticprotected |
Definition at line 44 of file IFunctionModel.cpp.
References Mantid::API::IFunction::getError(), Mantid::API::IFunction::getParameter(), Mantid::API::IFunction::nParams(), Mantid::API::IFunction::setError(), and Mantid::API::IFunction::setParameter().
Referenced by copyParametersAndErrorsToAllLocalFunctions(), MantidQt::MantidWidgets::FunctionModel::updateMultiDatasetParameters(), and MantidQt::MantidWidgets::FunctionModel::updateParameters().
|
protected |
Definition at line 53 of file IFunctionModel.cpp.
References copyParametersAndErrors(), getNumberLocalFunctions(), and getSingleFunction().
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
Referenced by getFunctionString().
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
Referenced by getFitFunctionString().
QString MantidQt::MantidWidgets::IFunctionModel::getFitFunctionString | ( | ) | const |
Definition at line 30 of file IFunctionModel.cpp.
References getFitFunction().
QString MantidQt::MantidWidgets::IFunctionModel::getFunctionString | ( | ) | const |
Definition at line 23 of file IFunctionModel.cpp.
References getCurrentFunction().
Referenced by MantidQt::MantidWidgets::FunctionModel::addFunction().
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
Referenced by getNumberLocalFunctions().
int MantidQt::MantidWidgets::IFunctionModel::getNumberLocalFunctions | ( | ) | const |
Definition at line 39 of file IFunctionModel.cpp.
References getNumberDomains(), and n.
Referenced by copyParametersAndErrorsToAllLocalFunctions().
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
Referenced by copyParametersAndErrorsToAllLocalFunctions().
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::ConvolutionFunctionModel, and MantidQt::MantidWidgets::FunctionModel.
Referenced by clear(), and setFunctionString().
void MantidQt::MantidWidgets::IFunctionModel::setFunctionString | ( | const QString & | funStr | ) |
Definition at line 15 of file IFunctionModel.cpp.
References clear(), Mantid::Kernel::SingletonHolder< T >::Instance(), and setFunction().
Referenced by MantidQt::MantidWidgets::FunctionModel::addFunction().
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.
|
pure virtual |
Implemented in MantidQt::MantidWidgets::FunctionModel.