Mantid
Loading...
Searching...
No Matches
StaticKuboToyabeTimesGausDecay.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2013 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
11#include "MantidCurveFitting/DllConfig.h"
12
13namespace Mantid {
14namespace CurveFitting {
15namespace Functions {
16
26class MANTID_CURVEFITTING_DLL StaticKuboToyabeTimesGausDecay : public API::ParamFunction, public API::IFunction1D {
27public:
28 std::string name() const override { return "StaticKuboToyabeTimesGausDecay"; }
29
30 const std::string category() const override { return "Muon\\MuonGeneric"; }
31
32protected:
33 void function1D(double *out, const double *xValues, const size_t nData) const override;
34
35 void init() override;
36};
37
38} // namespace Functions
39} // namespace CurveFitting
40} // namespace Mantid
This is a specialization of IFunction for functions of one real argument.
Definition: IFunction1D.h:43
Implements the part of IFunction interface dealing with parameters.
Definition: ParamFunction.h:33
std::string name() const override
Returns the function's name.
const std::string category() const override
The categories the Fit function belong to.
Helper class which provides the Collimation Length for SANS instruments.