24namespace CurveFitting {
27getDoublePulseFunction(std::shared_ptr<const API::IFunction>
const &function,
double offset,
double firstPulseWeight,
28 double secondPulseWeight);
32 double firstPulseWeight,
double secondPulseWeight);
35extractInnerFunction(std::shared_ptr<const Mantid::CurveFitting::Functions::Convolution>
const &function);
97 const std::string
name()
const override {
return "DoublePulseFit"; }
99 const std::string
summary()
const override {
100 return "A function to fit muon data from a double pulse source. Wraps Fit.";
104 const std::vector<std::string>
seeAlso()
const override {
105 return {
"FitGaussian",
"UserFunction1D",
"PlotPeakByLogValue",
"SplineBackground",
"EvaluateFunction",
"Fit"};
109 void initConcrete()
override;
110 void execConcrete()
override;
112 std::vector<Mantid::API::MatrixWorkspace_sptr> getWorkspaces()
const;
113 void declareAdditionalProperties();
116 void setOutputProperties();
A function to fit muon data from a double pulse source.
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
int version() const override
Algorithm's version for identification overriding a virtual method.
A base class for fitting algorithms.
std::shared_ptr< IAlgorithm > IAlgorithm_sptr
shared pointer to Mantid::API::IAlgorithm
std::shared_ptr< IFunction > IFunction_sptr
shared pointer to the function base class
MANTID_CURVEFITTING_DLL Mantid::API::IFunction_sptr getDoublePulseFunction(std::shared_ptr< const API::IFunction > const &function, double offset, double firstPulseWeight, double secondPulseWeight)
MANTID_CURVEFITTING_DLL Mantid::API::IFunction_sptr getDoublePulseMultiDomainFunction(std::shared_ptr< const API::MultiDomainFunction > const &function, double offset, double firstPulseWeight, double secondPulseWeight)
MANTID_CURVEFITTING_DLL Mantid::API::IFunction_sptr extractInnerFunction(std::shared_ptr< const Mantid::CurveFitting::Functions::Convolution > const &function)
Helper class which provides the Collimation Length for SANS instruments.