Antonino Ingargiola edited Fitting.tex  over 9 years ago

Commit id: c9e6c50356427cb8b3427ac3bbc45c84d438966c

deletions | additions      

       

Here, \verb|ds| is the variable with the burst data (selected bursts), \verb|'E'| is the name of the Data field to fit, \verb|binwidth| is the bin width of the histogram and \verb|model| is a pre-initialized model used for fitting.  \begin{itemize}  \item Histogram fit: chose a model, constraints, methods, accuracy  \item KDE: find After fitting, all  the maximum  \end{itemize} fitting results are stored in the Data variable (in the example in the \verb|E\_fitter| field).  To plot the FRET histogram and the fitted model we run:  \begin{verbatim}  dplot(ds, hist_fret, show_model=True)  \end{verbatim}  For more example on fitting bursts data and plotting results see the \href{http://nbviewer.ipython.org/urls/raw.github.com/tritemio/FRETBursts_notebooks/master/notebooks/FRETBursts%2520-%2520us-ALEX%2520smFRET%2520burst%2520analysis.ipynb}{us-ALEX notebook}.  \subsubsection{Correction coefficients}