Ardo Illaste edited res_fitting.md  about 10 years ago

Commit id: 744e85bae12a37325228cac73ebc9a57cf79fb3d

deletions | additions      

       

### Signal fitting  The function used for fitting Ca2+ release events is shown on Figure \ref{fig:f2}. The shape of the function is described by 4 parameters: amplitude (\(A\)), rise and decay time constants (\(\tau_{rise},\tau_{decay}\)) and plateau duration (\(d\)). An additional parameter (\(t_{max}\)) determines the time when the maximum is reached.   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 optmiziation 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} 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).