45 DomainType domainType = Simple);
52 void separateCompositeMembersInOutput(
const bool value,
const bool conv =
false);
75 virtual void createDomain(std::shared_ptr<API::FunctionDomain> &domain, std::shared_ptr<API::FunctionValues> &values,
89 virtual std::shared_ptr<API::Workspace>
91 std::shared_ptr<API::FunctionDomain> domain, std::shared_ptr<API::FunctionValues> values,
92 const std::string &outputWorkspacePropertyName =
"OutputWorkspace") {
98 throw std::logic_error(
"Method createOutputWorkspace() isn't implemented");
An base class for domain creators for use in Fit.
DomainType
Type of domain to create.
virtual void createDomain(std::shared_ptr< API::FunctionDomain > &domain, std::shared_ptr< API::FunctionValues > &values, size_t i0=0)=0
Create a domain and values from the input workspace.
bool m_convolutionCompositeMembers
Perform convolution of output composite components.
virtual ~IDomainCreator()=default
Virtual destructor.
bool m_outputCompositeMembers
Output separate composite function values.
virtual void initialize(Kernel::IPropertyManager *, const std::string &, DomainType)
Initialize.
std::vector< std::string > m_workspacePropertyNames
Property names for workspaces to get the data from.
Kernel::IPropertyManager * m_manager
Pointer to a property manager.
virtual std::shared_ptr< API::Workspace > createOutputWorkspace(const std::string &baseName, API::IFunction_sptr function, std::shared_ptr< API::FunctionDomain > domain, std::shared_ptr< API::FunctionValues > values, const std::string &outputWorkspacePropertyName="OutputWorkspace")
Create an output workspace filled with data simulated with the fitting function.
bool m_ignoreInvalidData
Flag to ignore nans, infinities and zero errors.
virtual size_t getDomainSize() const =0
Return the size of the domain to be created.
void ignoreInvalidData(bool yes)
Set to ignore invalid data.
virtual void declareDatasetProperties(const std::string &suffix="", bool addProp=true)
Declare properties that specify the dataset within the workspace to fit to.