11#include <boost/optional.hpp>
16namespace MantidWidgets {
23 void setModel(
const std::string &background,
const std::string &
workspace,
int workspaceIndex,
24 const std::string &peaks,
bool hasDeltaFunction);
25 void setModel(
const std::string &background,
const std::vector<std::pair<std::string, size_t>> &resolutionWorkspaces,
26 const std::string &lorentzianPeaks,
const std::string &fitType,
bool hasDeltaFunction,
27 const std::vector<double> &qValues,
const bool isQDependent,
bool hasTempCorrection,
double tempValue);
32 boost::optional<QStringList>
peakPrefixes()
const {
return m_peakPrefixes; }
33 boost::optional<QString>
fitTypePrefix()
const {
return m_fitTypePrefix; }
39 void findComponentPrefixes();
40 void iterateThroughFunction(
IFunction *func,
const QString &prefix);
41 void setPrefix(
IFunction *func,
const QString &prefix);
44 bool hasDeltaFunction,
bool isQDependent,
double q,
bool hasTempCorrection,
50 IFunction_sptr createResolutionFunction(
const std::string &workspaceName,
size_t workspaceIndex);
#define EXPORT_OPT_MANTIDQT_COMMON
IPeaksWorkspace_sptr workspace
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< IFunction > IFunction_sptr
shared pointer to the function base class
std::shared_ptr< CompositeFunction > CompositeFunction_sptr
shared pointer to the composite function base class