Skip to content

RobertMolenaar-UT/Lifetime_fit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Lifetime_fit

Multi-exponetional fitting of TCSPC histograms based on full reconvolution method.

Batchwise proccessing, select 1 or multiple files via the GUI Data is read via the PTUreader https://github.com/SumeetRohilla/readPTU_FLIM

With this script you can fit TCSPC lifetime histograms to single, double or triple order exponential fit with reconvolution method Minimalization method are NLLS / MLE-Nelder-Mead minimalisation methods.

Input data selection tools:

  1. select SPAD channel from PTU file (Channel)
  2. Limit number of photos in the file (photons)
  3. Limit/set histogram peak value (peak_lim)
  4. Long lifetime/phosforence remove 2nd photon afer APD deadtime recovery (Drop_multi_AC_count)

Fitting options

  1. Fitting Methods: NLLS or MLE (method)
  2. Fit order 'single, 'double' or 'triple' (fit_order)
  3. Fixing any of the fitting parameters. (set in lmfit params)
  4. Fitting boundaries can set. (set in lmfit params)
  5. IRF from experimental file or Automatic reconstruction. (irf_source)

Output shows exp fit components and intensity weighted average lifetime.

Example: Fitting output. High1_T0s_1__2expfit

Example: visual on Automatic IRF reconstruction. irf_construct

CSV output of decays → time [ns], IRF, TCSPC decay, fit, residuals.

CSV output of fit values over all proccessed files → file,t1,t2,t3,tav,a1,a2,a3

Keywords: PTU, Picoquant, fluorescent lifetime, reconvolution, TCSPC

About

Multi-exponetional fitting of TCSPC histograms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages