Mantid
Loading...
Searching...
No Matches
CriticalPeakRelaxationRate.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2021 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
13
14namespace Mantid {
15namespace CurveFitting {
16namespace Functions {
39class MANTID_CURVEFITTING_DLL CriticalPeakRelaxationRate : public BackgroundFunction {
40public:
42 std::string name() const override { return "CriticalPeakRelaxationRate"; }
43 void function1D(double *out, const double *xValues, const size_t nData) const override;
44 const std::string category() const override { return "Muon\\MuonModelling\\Magnetism"; }
45
46protected:
48 void init() override;
49};
50
51} // namespace Functions
52} // namespace CurveFitting
53} // namespace Mantid
Provide Critical peak of relaxation rate for fitting interface to IFunction.
std::string name() const override
overwrite IFunction base class methods
const std::string category() const override
overwrite IFunction base class methods
Helper class which provides the Collimation Length for SANS instruments.