Mantid
Loading...
Searching...
No Matches
Abragam.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 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
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
13//#include "MantidAPI/IPeakFunction.h"
14
17#include "MantidCurveFitting/DllConfig.h"
18
19namespace Mantid {
20namespace CurveFitting {
21namespace Functions {
29class MANTID_CURVEFITTING_DLL Abragam : public API::ParamFunction, public API::IFunctionMW, public API::IFunction1D {
30public:
32 std::string name() const override { return "Abragam"; }
33
35 const std::string category() const override { return "Muon\\MuonSpecific"; }
36 void functionDeriv(const API::FunctionDomain &domain, API::Jacobian &jacobian) override;
37
38protected:
39 void function1D(double *out, const double *xValues, const size_t nData) const override;
40 void setActiveParameter(size_t i, double value) override;
41
43 void init() override;
44};
45
46} // namespace Functions
47} // namespace CurveFitting
48} // namespace Mantid
double value
The value of the point.
Definition: FitMW.cpp:51
Base class that represents the domain of a function.
This is a specialization of IFunction for functions of one real argument.
Definition: IFunction1D.h:43
This is a specialization of IFunction for functions defined on a MatrixWorkspace.
Definition: IFunctionMW.h:30
Represents the Jacobian in IFitFunction::functionDeriv.
Definition: Jacobian.h:22
Implements the part of IFunction interface dealing with parameters.
Definition: ParamFunction.h:33
Provide Abragam fitting function for muon scientists.
Definition: Abragam.h:29
const std::string category() const override
overwrite IFunction base class methods
Definition: Abragam.h:35
std::string name() const override
overwrite IFunction base class methods
Definition: Abragam.h:32
Helper class which provides the Collimation Length for SANS instruments.