tttrlib
A library for time-tagged time resolved data
Loading...
Searching...
No Matches
DecayFit23.h
Go to the documentation of this file.
1#ifndef TTTRLIB_DECAYFIT23_H
2#define TTTRLIB_DECAYFIT23_H
3
4#include <iostream>
5#include <cmath>
6#include <algorithm>
7#include <string>
8#include <sstream>
9#include <iomanip> // std::setprecision
10
11#include "i_lbfgs.h"
12#include "LvArrays.h"
13#include "DecayConvolution.h"
14#include "DecayStatistics.h"
15#include "DecayFit.h"
16
17
18
20
21public:
22
51 static int modelf(
52 double *param,
53 double *irf,
54 double *bg,
55 int Nchannels,
56 double dt,
57 double *corrections,
58 double *mfunction
59 );
60
83 static double targetf(double *x, void *pv);
84
85
109 static double fit(double* x, short* fixed, MParam* p);
110
111
139 static void correct_input(double *x, double *xm, LVDoubleArray *corrections, int return_r);
140
141};
142
143
144#endif //TTTRLIB_DECAYFIT23_H
Definition DecayFit23.h:19
static double fit(double *x, short *fixed, MParam *p)
static double targetf(double *x, void *pv)
Target function (to minimize) for fit23.
static int modelf(double *param, double *irf, double *bg, int Nchannels, double dt, double *corrections, double *mfunction)
Single exponential model function with single rotational correlation time, with scatter contribution ...
static void correct_input(double *x, double *xm, LVDoubleArray *corrections, int return_r)
Definition LvArrays.h:43
Definition LvArrays.h:66