Ardo Illaste edited res_fitting.md  about 10 years ago

Commit id: 6aa4915c0bd71f360cc38331165bc58ef90cd14d

deletions | additions      

       

After paramater optimization with the extended fit function the same signal is fitted with a line. For both models the corrected Akaike Information Criterion (AICc \cite{Burnham_2004}) is calculated and the region is accepted only if the AICc for the fit function is less than the AICc for the line. This ensures that the goodness of the fit obtained with the fit function justifies the use of a more complicated model.  All *k* events detected in pixel *i* are represented by vectors \(\mathbf{p}_{i,k}\). These vectors can be stacked to creat an event matrix for pixel *i*:  \[  E_i' =   \left(  \begin{array}{l}  \mathbf{p}_{i,0}\\\\  \mathbf{p}_{i,1}\\\\  \ldots\\\\  \mathbf{p}_{i,k}  \end{array}  \right)  \]  In order to reconstruct the entire image with all the pixels it is also necessary to know the location of the pixels. The parameter vector \(\mathbf{p}_i\) is extended with the coordinates of pixel *i*:  \[  \mathbf{r}_i = \left[\mathbf{p}_i,x_i,y_i\right]  =\left[A_i, d_i ,\tau_{d,i},\tau_{r,i},\mu_i,x_i,y_i\right] =  \left[\mathbf{p}_{s,i}, \mathbf{p}_{p,i}\right]  \]  , where \(\mathbf{p}_s=\left[A,d,\tau{d},\tau_{r}\right]\) is the shape paramater vector and \(\mathbf{p}_p=\left[\mu,x,y\right]\) is the position parameter vector. All *k* events detected in pixel *i* are represented by vectors   \(\mathbf{p}^s_{i,k}\) and \(\mathbf{p}^p_{i,k}\). These vectors can be stacked to creat an event matrix for pixel *i*:  \[  E_i' =   \left(  \begin{array}{l l}  \mathbf{p}^s_{i,0}&\mathbf{p}^p_{i,k}\\\\  \mathbf{p}^s_{i,1}&\mathbf{p}^p_{i,k}\\\\  \ldots\\\\  \mathbf{p}^s_{i,k}&\mathbf{p}^p_{i,k}  \end{array}  \right)  \]