Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lifetime Fitting #6

Open
tritemio opened this issue Nov 20, 2017 · 2 comments
Open

Lifetime Fitting #6

tritemio opened this issue Nov 20, 2017 · 2 comments
Labels

Comments

@tritemio
Copy link

From @ncodina on November 15, 2016 16:59

I was wondering if there is already some function implemented to calculate lifetimes from the TCSPC histogram?

Copied from original issue: tritemio#48

@tritemio
Copy link
Author

Not out-of-the-box, but you can use straight lmfit to do the fitting. You can find an example of fitting with IRF deconvolution using least-squares or maximum likelihood in the following notebook (it uses simulated data):

https://github.com/tritemio/notebooks/blob/master/Lifetime_decay_fit.ipynb

Also you can fairly simply compute a per-burst "mean lifetime" with:

http://fretbursts.readthedocs.io/en/latest/plugins.html#fretbursts.burstlib_ext.calc_mean_lifetime

This can be used, for example, to build the plots like mean lifetime vs ratiometric E (see Seidel group MFD analysis).

@tritemio
Copy link
Author

The notebooks recently published in this repository show how to do lifetime fitting on multispot data using both tail fitting and IRF reconvolution of the lifetime histogram with different models (1, 2 or 3 exponentials).

The notebooks are pretty long, for the part relative to lifetime fitting see this section:

http://nbviewer.jupyter.org/github/tritemio/polimi_tcspc_16ch/blob/master/16-CH%20POLIMI-TCSPC%20Bursts%20Analysis-2015-09-08_s5_FRET.ipynb#Population-Lifetime-Fit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant