function DAeff = efficiency(tsInt)
%% generates the naive efficiency from two-channel intensities (generate
%% with timewindow from single counts) 
% 1st column Donor, second Acceptor
% simple efficiency form 
tend = uint32(size(tsInt,1));
DAeff = zeros(tend,1);

for i=1:tend
    if tsInt(i,1)+tsInt(i,2)==0;
        DAeff(i)=0;
    elseif tsInt(i,1)==0;
        DAeff(i)=1;
    else
       DAeff(i) = tsInt(i,2)/(tsInt(i,1)+tsInt(i,2));
    end
end