Ardo Illaste edited res_fitting.md  about 10 years ago

Commit id: c80fa2f6ef8ec2ef8670716cc8fa111225704975

deletions | additions      

       

Because it is not know which part of the signal is the event and which is the baseline the first fit also has to estimate the baseline properties.  Signal in the candidate region is fitted with an extended fit function (Figure \ref{fig:fig2}) that also depends on relaxation baseline \(B\) and baseline offset \(C\). The \(C\) parameter allows for the possibility of an elevated background before the release event.   After paramater optimziation 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} \cite{Burnham_2004})  is calculated and the region is accepted only if the AICc for the fit function is less than for the line (i.e., the goodness of the fit obtained with the fit function justifies the use of a more complicated model).