Ardo Illaste edited res_fitting.md  about 10 years ago

Commit id: 9a800ab49010872c5541c420dd0dbc355998a05d

deletions | additions      

       

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 (\(\mu\)) determines the time when the maximum is reached. For the optimizer to obtain good performance when fitting the function used for fitting should be continously differentiable. The original fitting function:  \[  g(A, d, \tau_{d}, \tau_{r}, \mu) =   \left\{ A\cdot\left\{  \begin{array}{l l}  n/2 & \quad \text{if $n$ is even}\\\\  -(n+1)/2 & \quad \text{if $n$ is odd}  \end{array} \right. + B  \]  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.