%MultiIntensities/Efficiencies


k=3
for i=1:length(uFRET)
uFRET(k,i).ints10=timewindow(uFRET(k,i).counts,10);
uFRET(k,i).ints20=timewindow(uFRET(k,i).counts,20);
uFRET(k,i).ints50=timewindow(uFRET(k,i).counts,50);
uFRET(k,i).ints100=timewindow(uFRET(k,i).counts,100);

uFRET(k,i).eff10=efficiency(uFRET(k,i).ints10);
uFRET(k,i).eff20=efficiency(uFRET(k,i).ints20);
uFRET(k,i).eff50=efficiency(uFRET(k,i).ints50);
uFRET(k,i).eff100=efficiency(uFRET(k,i).ints100);
end
 

for i=1:24
    sortTime2(i)=uFRET(1,i).A_bleached
end
[sortedTime2 Xperm2]=sort(sortTime2)
for j=1:24
goodTSCFRET(:,j)=uFRET(:,Xperm2(j))
end