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 #48

Closed
ncodina opened this issue Nov 15, 2016 · 3 comments
Closed

Lifetime Fitting #48

ncodina opened this issue Nov 15, 2016 · 3 comments
Labels

Comments

@ncodina
Copy link

ncodina commented Nov 15, 2016

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

@tritemio
Copy link
Owner

tritemio commented Nov 15, 2016

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
Owner

tritemio commented Mar 13, 2017

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

@tritemio
Copy link
Owner

This issue was moved to OpenSMFS#6

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

2 participants