Ardo Illaste edited res_fitting2.md  about 10 years ago

Commit id: ebc87a0d1ec76e802df5baf4fc4a5954a568416e

deletions | additions      

       

#### Fitting procedure  After paramater parameter  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. 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*: