\(\renewcommand\AA{\unicode{x212B}}\)
FullprofPolynomial¶
Description¶
A fullprof polynomial function of degree \(n\) is defined as:
\[y = A_0 + A_1 \times x + A_2 \times x^2 + ... + A_n \times x^n, \text{ where } x = \frac{\text{tof}}{\text{Bkpos}}-1\]
and \(A_0, ..., A_n\) are constant coefficients. Note: \(n\) must be either 6 or 12.
Attributes (non-fitting parameters)¶
Name |
Type |
Default |
Description |
---|---|---|---|
n |
|||
Bkpos |
Properties (fitting parameters)¶
Name |
Default |
Description |
---|---|---|
A0 |
0.0 |
|
A1 |
0.0 |
|
A2 |
0.0 |
|
A3 |
0.0 |
|
A4 |
0.0 |
|
A5 |
0.0 |
Categories: FitFunctions | Background
Source¶
C++ header: FullprofPolynomial.h
C++ source: FullprofPolynomial.cpp