12#include "MantidCurveFitting/DllConfig.h"
22class FunctionDomain1D;
27namespace CurveFitting {
46 void declareDatasetProperties(
const std::string &suffix =
"",
bool addProp =
true)
override;
48 void createDomain(std::shared_ptr<API::FunctionDomain> &domain, std::shared_ptr<API::FunctionValues> &values,
49 size_t i0 = 0)
override;
51 std::shared_ptr<API::Workspace> createOutputWorkspace(
const std::string &baseName,
API::IFunction_sptr function,
52 std::shared_ptr<API::FunctionDomain> domain,
53 std::shared_ptr<API::FunctionValues> values,
54 const std::string &outputWorkspacePropertyName)
override;
66 void setParameters()
const override;
DomainType
Type of domain to create.
Creates FunctionDomain1D form a spectrum in a MatrixWorkspace.
std::string m_excludePropertyName
Store the Exclude property name.
bool m_normalise
Option to normalise the data.
void setNormalise(bool on)
Set the normalisation flag.
std::vector< double > m_exclude
Ranges that must be excluded from fit.
void setMaxSize(size_t maxSize)
Set max size for Sequantial and Parallel domains.
std::string m_maxSizePropertyName
Store maxSize property name.
size_t m_maxSize
Max size for seq domain.
std::string m_normalisePropertyName
Store Normalise property name.
A base class for domain creators taking 1D data from a spectrum of a matrix workspace.
Interface to PropertyManager.
std::shared_ptr< IFunction > IFunction_sptr
shared pointer to the function base class
Helper class which provides the Collimation Length for SANS instruments.