Mantid
Loading...
Searching...
No Matches
GaussianComptonProfile.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
9#include "MantidCurveFitting/DllConfig.h"
11
12namespace Mantid {
13namespace CurveFitting {
14namespace Functions {
15
27class MANTID_CURVEFITTING_DLL GaussianComptonProfile : public ComptonProfile {
28public:
31
32private:
34 std::string name() const override;
36 void declareParameters() override;
37
39 std::vector<size_t> intensityParameterIndices() const override;
41 size_t fillConstraintMatrix(Kernel::DblMatrix &cmatrix, const size_t start,
42 const HistogramData::HistogramE &errors) const override;
43
45 void massProfile(double *result, const size_t nData) const override;
46
48 void massProfile(double *result, const size_t nData, const double amplitude) const;
49};
50
51} // namespace Functions
52} // namespace CurveFitting
53} // namespace Mantid
This class serves as a base-class for ComptonProfile type functions.
Implements a function to calculate the Compton profile of a nucleus using a Gaussian approximation co...
Helper class which provides the Collimation Length for SANS instruments.