Mantid
Loading...
Searching...
No Matches
Framework
CurveFitting
inc
MantidCurveFitting
Functions
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"
10
#include "
MantidCurveFitting/Functions/ComptonProfile.h
"
11
12
namespace
Mantid
{
13
namespace
CurveFitting {
14
namespace
Functions {
15
27
class
MANTID_CURVEFITTING_DLL
GaussianComptonProfile
:
public
ComptonProfile
{
28
public
:
30
GaussianComptonProfile
();
31
32
private
:
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
name
std::string name
Definition
Run.cpp:60
ComptonProfile.h
Mantid::CurveFitting::Functions::ComptonProfile
This class serves as a base-class for ComptonProfile type functions.
Definition
ComptonProfile.h:30
Mantid::CurveFitting::Functions::GaussianComptonProfile
Implements a function to calculate the Compton profile of a nucleus using a Gaussian approximation co...
Definition
GaussianComptonProfile.h:27
Mantid::Kernel::Matrix< double >
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Generated by
1.9.8