function tsInt = intsum(ts10mys,n)

length = uint32(size(ts10mys,1));
tsInt = zeros(total_rows,2);

   for i=0:length-n
        tsInt(i+1,1) = sum(ts10mys(i+1:n+i,1));
        tsInt(i+1,2) = sum(ts10mys(i+1:n+i,2));
   end


for i=1:3
    a=uFRET(1,i).counts(:,2:3);
    uFRET(1,i).counts=zeros(size(a,1),2);
    uFRET(1,i).counts(:,1:2)=a;

end
