Antonino Ingargiola edited Background estimation.tex  over 9 years ago

Commit id: 5cfc4ee93943050f92c23b2a2222fdb3f05dc14b

deletions | additions      

       

\subsection{Background estimation}  \label{sec:bg_calc}  The first step of smFRET analysis involves estimating the background level. As noted in section~\ref{sec:bg_intro}, estimating the background rate involves estimating the rate of a Poisson process.  To For example, to  compute the background every 30s, using a threshold of 2 ms for all the photon streams we execute: \begin{verbatim}  d.calc_bg(bg.exp_fit, time_s=30, tail_min_us=2000)  \end{verbatim}  Here, the first argument is the actual fitting function used to fit the  background in each period and for each photon stream. stream~\ref{sec:bg_intro}.  The function \verb|bg.exp_fit| fits the background using a Maximum Likelihood Estimation   (MLE) of the delays distribution. More fitting functions are available in   \verb|bg| namespace (see the