-
Notifications
You must be signed in to change notification settings - Fork 1
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
BIFL scatter fit - incorrect scatter estimation? #42
Comments
Another minor bug: The IRF display disappears when a background curve is loaded. |
Thank you a lot for opening this issue. I am aware that there is a problem. It makes much more sense to normalize the IRF. There is a version from 2013/14 where the BIFL scatter fit is implemented one would expect. However,
In future releases I will change the meaning of "sc" to a scatter fraction as oposed to an prefactor. |
Thanks for the quick reply! |
Hi Thomas,
when specifying a background curve and using the automatic estimation of background and fluorescence photons from the measurement durations, we noticed that we could not get a correct fit. To understand how things are implemented, I looked into the code and noticed that the model decay, before being multiplied by the estimated photon number, is not normalized to an area of 1.
Here are the respective lines in models/tcspc/lifetime.py
It turns out that the sum of the decay is > 1.
Is this intended behavior? Otherwise, I would suggest to normalize the decay to its sum before multiplying with the photon number, as done for the background pattern.
The text was updated successfully, but these errors were encountered: