tttrlib
A library for time-tagged time resolved data
Loading...
Searching...
No Matches
DecayFit24.h
Go to the documentation of this file.
1#ifndef TTTRLIB_DECAYFIT24_H
2#define TTTRLIB_DECAYFIT24_H
3
4#include "DecayFit.h"
5#include "DecayConvolution.h"
6#include "DecayStatistics.h"
7
8
10
11
12public:
13
40 static int modelf(double *param, // here: [tau1 gamma tau2 A2 offset]
41 double *irf,
42 double *bg,
43 int Nchannels,
44 double dt, // time per channel
45 double *corrections, // [period g l1 l2]
46 double *mfunction // out: model function in Jordi-girl format
47 );
48
49
59 static double targetf(double *x, void *pv);
60
61
94 static double fit(double *x, short *fixed, MParam *p);
95
96
111 static void correct_input(double *x, double *xm, LVDoubleArray *corrections, int return_r);
112
113
114};
115
116
117#endif //TTTRLIB_DECAYFIT24_H
Definition DecayFit24.h:9
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)
Bi-exponential model function.
static void correct_input(double *x, double *xm, LVDoubleArray *corrections, int return_r)
Correct input parameters and compute anisotropy for fit24.
static double fit(double *x, short *fixed, MParam *p)
Definition DecayFit.h:227
Definition LvArrays.h:43
Definition LvArrays.h:66