<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Ewan,
<div class=""><br class="">
</div>
<div class="">
<div>Hope you’re well. Ian forwarded me your email, I had a couple of comments below that might be helpful:</div>
<div><br class="">
</div>
<div>
<blockquote type="cite" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div class=""><span style="font-family: Calibri, sans-serif; font-size: 14px;" class="">I’ve just been doing some double exponential fitting with FLIMFit and ran into a couple of “queries”…</span><br class="">
<font color="#00afcd" face="Calibri, sans-serif" class=""><span style="font-size: 14px;" class=""><br class="">
</span></font><span style="font-family: Calibri, sans-serif; font-size: 14px;" class="">1. When I used a pixel-by-pixel method you’d get a longer than expected lifetime and and shorter than expected lifetime (e.g. For a gfp-Tag-RFP fret pair, should be about
 2.1 ns gfp lifetime, I got t1 = 3.2 ns and t2 = ~600 ps with b1 = ~0.3 and b2 = ~0.7), however, the weighted mean lifetime is the correct value?</span><font color="#00afcd" face="Calibri, sans-serif" class=""><span style="font-size: 14px;" class=""><br class="">
</span></font></div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Depending on how many photons you have, fitting on a pixel-pixel basis can be pretty challenging. If you’re using single pixel fitting with TCSPC data you need to make sure you’re using maximum likelihood fitting: in the advanced tab, set ‘Algorithm’ to
 ‘Maximum Likelihood’. This will avoid the bias you can get at low photon counts with standard weighting approaches.</div>
<div>In general the weighted mean will be closer to the value you get when fitting a single exponential decay. </div>
<div><br class="">
</div>
<div>A couple of other things to check:</div>
<div><br class="">
</div>
<div>
<ul class="MailOutline">
<li class="">Are you estimating the background level correctly? In an empty part of an image (or, ideally, empty image with the same acquisition time), select a region and estimate the background level based on the ‘decay’ panel (will probably be low, like
 ~0.01-0.2 counts/timebin). In the ‘Background Light’ tab, set ‘Offset’ to this value.</li><li class="">Are you using a recently measured and correctly background-subtracted IRF?  </li></ul>
</div>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div class=""><span style="font-family: Calibri, sans-serif; font-size: 14px;" class="">2. Sometime the beta were negative for b2 and over 1 for b1 e.g. b1 = 1.41 and b2 = -0.42?</span><font color="#00afcd" face="Calibri, sans-serif" class=""><span style="font-size: 14px;" class=""><br class="">
</span></font></div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>By default, the contributions are not contained to 0<beta<1. This is partially for technical reasons but also because if the value is of beta truly lies around 0 or 1 you need to allow negative values to ensure the mean value of the distribution due to
 noise is not biased by the constraint. If you use maximum likelihood fitting this constraint should kick in and you will only get 0<=beta<=1.   </div>
<br class="">
<blockquote type="cite" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div class=""><span style="font-family: Calibri, sans-serif; font-size: 14px;" class="">I’m guessing that this is because the model is finding it hard to fit perhaps through lack of signal?</span><br class="">
<font color="#00afcd" face="Calibri, sans-serif" class=""><span style="font-size: 14px;" class=""><br class="">
</span></font><span style="font-family: Calibri, sans-serif; font-size: 14px;" class="">When I fit the same data using global fitting (but locally vary the contributions) it behaves a bit better.</span><br class="">
<font color="#00afcd" face="Calibri, sans-serif" class=""><span style="font-size: 14px;" class=""><br class="">
</span></font><span style="font-family: 'Lucida Grande';" class="">The smodel settings I used were: Global fitting, Fit Contributions = Fitted locally, Fit Reference = Fitted, Fit IRF Shift = Fitted. Stray light tab: Offest = Fitted gloabally, Scatter = Fitted
 gloabally, TV Background = Fitted globally.</span><font color="#00afcd" face="Lucida Grande" class=""><br class="">
</font></div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>You’re leaving a lot of parameters free here, if possible it’s better to constrain parameters where you can</div>
<div><br class="">
</div>
<div>
<blockquote type="cite" class="">
<div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div class="">
<div class=""><span style="font-family: 'Lucida Grande';" class="">Fit Reference = Fitted,</span></div>
</div>
</div>
</blockquote>
<div>Are you using a reference dye measurement for an IRF? If so it’s better to estimate the lifetime of the reference by tail fitting and then fixing the reference value.  </div>
<div>If you’re not using a reference dye this will have no effect. </div>
<div><br class="">
</div>
<blockquote type="cite" class="">
<div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div class="">
<div class=""><span style="font-family: 'Lucida Grande';" class="">Fit IRF Shift = Fitted.</span></div>
</div>
</div>
</blockquote>
<div>This will move the IRF in time. I generally try to do this only once when fitting a single exponential sample (e.g a chromaslide) to determine the IRF shift, then manually set the IRF shift to this value and fix it from then on</div>
Specifically I generally follow this procedure:</div>
<div><br class="">
</div>
<div>
<ul class="MailOutline">
<li class="">Open a reference sample such as a chroma slide or Atto dye and import the IRF</li><li class="">Fit the sample with a single exponential decay, with a fitted IRF shift</li><li class="">Record the t0 shift</li><li class="">Open the data to fit</li><li class="">In the IRF tab, set IRF shift to the negative of the fitted t0 shift value</li><li class="">Fit the data with a fixed IRF shift</li></ul>
</div>
<div><br class="">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div class="">
<div class=""><font face="Lucida Grande" class="">Stray light tab: Offest = Fitted globally,
</font></div>
</div>
</div>
</blockquote>
<div>If possible it’s better to fix the offset to a value determined from a sample free background image</div>
<div><br class="">
</div>
<blockquote type="cite" class="">
<div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div class="">
<div class=""><font face="Lucida Grande" class="">Scatter = Fitted globally, </font>
</div>
</div>
</div>
</blockquote>
<div>Unless you have a scatter contribution (i.e. a contribution to the decay which looks like the IRF) you should fix this to zero. </div>
<div>If your filters are set up correctly you shouldn’t need this. </div>
<div><br class="">
</div>
<blockquote type="cite" class="">
<div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div class="">
<div class=""><span style="font-family: 'Lucida Grande';" class="">TV Background = Fitted globally.</span></div>
</div>
</div>
</blockquote>
</div>
<div>Are you importing a time varying background? </div>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div class=""><span style="font-family: 'Lucida Grande';" class="">The fit results are:</span><br class="">
<font color="#00afcd" face="Lucida Grande" class=""><br class="">
</font>
<table border="0" cellpadding="0" cellspacing="0" width="421" class="" style="font-family: Calibri, sans-serif; border-collapse: collapse; width: 421pt;">
<colgroup class=""><col width="53" span="3" style="width: 53pt;" class=""><col width="80" style="width: 80pt;" class=""><col width="75" style="width: 75pt;" class=""><col width="107" style="width: 107pt;" class=""></colgroup>
<tbody class="">
<tr height="14" style="height: 14pt;" class="">
<td height="14" width="53" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap; height: 14pt; width: 53pt;" class="">
</td>
<td class="xl63" width="53" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; font-weight: 700; vertical-align: bottom; border: none; white-space: nowrap; width: 53pt;">
tau 1</td>
<td class="xl63" width="53" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; font-weight: 700; vertical-align: bottom; border: none; white-space: nowrap; width: 53pt;">
tau 2</td>
<td class="xl63" width="80" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; font-weight: 700; vertical-align: bottom; border: none; white-space: nowrap; width: 80pt;">
b1</td>
<td class="xl63" width="75" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; font-weight: 700; vertical-align: bottom; border: none; white-space: nowrap; width: 75pt;">
b2</td>
<td class="xl63" width="107" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; font-weight: 700; vertical-align: bottom; border: none; white-space: nowrap; width: 107pt;">
weighted mean tau</td>
</tr>
<tr height="14" style="height: 14pt;" class="">
<td height="14" class="xl63" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; font-weight: 700; vertical-align: bottom; border: none; white-space: nowrap; height: 14pt;">
mTagRFP</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
2374.9365</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
101.5567</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
1.04607</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
-0.0460605</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
2478.4242</td>
</tr>
<tr height="14" style="height: 14pt;" class="">
<td height="14" class="xl63" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; font-weight: 700; vertical-align: bottom; border: none; white-space: nowrap; height: 14pt;">
control</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
2203.113</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
326.7455</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
0.60874</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
0.39126</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
2034.0543</td>
</tr>
<tr height="14" style="height: 14pt;" class="">
<td height="14" class="xl63" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; font-weight: 700; vertical-align: bottom; border: none; white-space: nowrap; height: 14pt;">
<br class="">
</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
<br class="">
</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
<br class="">
</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
<br class="">
</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
<br class="">
</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
<br class="">
</td>
</tr>
<tr height="14" style="height: 14pt;" class="">
<td height="14" class="xl63" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; font-weight: 700; vertical-align: bottom; border: none; white-space: nowrap; height: 14pt;">
wt - 2</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
2222.8235</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
74.7949</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
1.5714</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
-0.571393333</td>
<td align="right" style="padding-top: 1px; padding-right: 1px; padding-left: 1px; font-size: 11pt; vertical-align: bottom; border: none; white-space: nowrap;" class="">
2258.200767</td>
</tr>
</tbody>
</table>
<font color="#00afcd" face="Calibri, sans-serif" class=""><span style="font-size: 14px;" class=""><br class="">
</span></font><span style="font-family: Calibri, sans-serif; font-size: 14px;" class=""> </span><br class="">
<span style="font-family: Calibri, sans-serif; font-size: 14px;" class=""> Where mTagRFP, is just GFP only so 2.5’ish ns expected, control is positive FRET  so about 2 ns and wt-2 is the wild-type free to vary FRET sample (so somewhere between mTagRFP and control
 sample lifetimes).</span><br class="">
<font color="#00afcd" face="Calibri, sans-serif" class=""><span style="font-size: 14px;" class=""><br class="">
</span></font><span style="font-family: Calibri, sans-serif; font-size: 14px;" class="">Does this behaviour make sense to you?</span><br class="">
<font color="#00afcd" face="Calibri, sans-serif" class=""><span style="font-size: 14px;" class=""><br class="">
</span></font><span style="font-family: Calibri, sans-serif; font-size: 14px;" class="">Any help or insight would be really useful :-) </span><font color="#00afcd" face="Calibri, sans-serif" class=""><span style="font-size: 14px;" class=""><br class="">
</span></font></div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>As a more general comment I would ask whether you need to use a double exponential model? Unless you’re actually interested in the exact values of the contributions from a biological perspective, fitting with a single exponential will give you the same
 contrast (as defined by the change in the estimated parameter divided by the noise on that parameter) as a double fit with quite a bit less effort. Either way the weighted mean should give you a reliable estimate of the level of FRET, even if the tau values
 are a bit off.    </div>
<div><br class="">
</div>
<blockquote type="cite" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div class=""><span style="font-family: Calibri, sans-serif; font-size: 14px;" class="">Hows things going otherwise? I shall email you the journal DOI when the paper is published that this is going into.</span><br class="">
<font color="#00afcd" face="Calibri, sans-serif" class=""><span style="font-size: 14px;" class=""><br class="">
</span></font><span style="font-family: Calibri, sans-serif; font-size: 14px;" class="">Speak to you soon,</span><br class="">
<font color="#00afcd" face="Calibri, sans-serif" class=""><span style="font-size: 14px;" class=""><br class="">
</span></font>
<div class="">
<div style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">
<p style="margin: 0px; font-size: 12px; font-family: 'Lucida Grande';" class=""></p>
</div>
<div class="">Ewan</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<div><br class="">
</div>
<div>Cheers</div>
<div>Sean</div>
<div>
<div class="">
<p class="" style="font-size: 13px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 18.6560001373291px; background-color: rgb(255, 255, 255);">
<font size="2" class=""><strong class="">Dr. Sean Warren </strong>| Research Officer<br class="">
Invasion and Metastasis<br class="">
Cancer Division<br class="">
<strong class="">Garvan Institute of Medical Research </strong><br class="">
The Kinghorn Cancer Centre,<strong class=""> </strong>370 Victoria Street, Darlinghurst, NSW 2010</font></p>
<p class="" style="font-size: 13px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 18.6560001373291px; background-color: rgb(255, 255, 255);">
<font size="2" class=""><strong class="">T</strong>: + 61 (0)2 9355 5852 I<strong class=""> E</strong>: <font color="blue" class=""><a href="mailto:s.warren@garvan.org.au" class="">s.warren@garvan.org.au</a></font></font></p>
</div>
</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div>______________________________________________<br class="">
<blockquote type="cite" class=""></blockquote>
FLIMfit-users mailing list<br class="">
<blockquote type="cite" class=""></blockquote>
<a href="mailto:FLIMfit-users@lists.openmicroscopy.org.uk" class="">FLIMfit-users@lists.openmicroscopy.org.uk</a><br class="">
http://lists.openmicroscopy.org.uk/mailman/listinfo/flimfit-users<br class="">
</div>
<br class="">
</div>
<div style="font-size:8pt; font-family: Arial">NOTICE</div>
<div style="font-size:8pt; font-family: Arial">Please consider the environment before printing this email. This message and any attachments are intended for the addressee named and may contain legally privileged/confidential/copyright information. If you are
 not the intended recipient, you should not read, use, disclose, copy or distribute this communication. If you have received this message in error please notify us at once by return email and then delete both messages. We accept no liability for the distribution
 of viruses or similar in electronic communications. This notice should not be removed.
</div>
</body>
</html>