Ardo Illaste edited res_fitting2.md  about 10 years ago

Commit id: fc1e1e96af241b952460fcb617de87f3b3cb3df0

deletions | additions      

       

#### Fitting procedure  After 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 thegoodness of the  fit obtained with the fit function justifies is good enough to justify  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*: