Eitan Lerner edited dataload.tex  over 9 years ago

Commit id: b0d125400f5b88091c51b9231cc5901ed7c880be

deletions | additions      

       

\end{verbatim}  In the previous example, we set the timestamp unit (\verb|clk_p|) to 10~ns   and we specify that the data is not from an ALEX measurements. measurement.  Creating \verb|Data| objects for ALEX and nsALEX measurements follows the same lines.   We point the interested readers to the   \href{https://github.com/tritemio/FRETBursts/blob/master/fretbursts/loader.py}{loader module source code}  

with the currently selected donor and acceptor excitation periods  (if no selection has been made yet, default values will be shown).  Figure~\ref{fig:altern_hist} shows a typical alternation histogram for  a µs-ALEX measurement with  thehighlighted  donor and acceptor excitation periods. periods highlighted.  To In order to  change the period definition shown in figure~\ref{fig:altern_hist} the user can execute:  \begin{verbatim} 

where \verb|D_ON| and \verb|A_ON| are tuples representing   the start-stop range for the donor and acceptor excitation periods   in timestamps units. After changing the parameters, a newplot  alternation plot will show the updated period selections. When the alternation period definition is satisfactory, it can  be applied using the  

loader.alex_apply_period(d)  \end{verbatim}  After running  this command only the photons inside the defined excitation periods will be present in \verb|d|, therefore in order  to apply a new alternation period it is necessary to reload the file.  For ns-ALEX measurements the exact same functions and syntax is are  used. This time, however, the plot function will show a nanotime Time-Correlated Single Photon Counting (TCSPC)  histogram and of two fluorescence decays originating from  the two interspaced excitation sources. The  period ranges will be expressed in nanotime units (TCSPC time bins)  instead of timestamp units.