14constexpr double CONVERSIONFACTOR = 11.606;
21void
ConvTempCorrection::init() { declareParameter(
"Temperature", 300.0,
"Temperature correction value (K)"); }
25 for (
size_t i = 0; i < nData; ++i) {
26 double x = xValues[i];
30 out[i] = (
x * CONVERSIONFACTOR) / T / (1 - exp(-((
x * CONVERSIONFACTOR) / T)));
#define DECLARE_FUNCTION(classname)
Macro for declaring a new type of function to be used with the FunctionFactory.
double getParameter(size_t i) const override
Get i-th parameter.
Temperature correction used in the convolution fitting tab within the IDA GUI.
void function1D(double *out, const double *xValues, const size_t nData) const override
Function you want to fit to.