idx = find(diff(ss.time) < -1, 1, 'first');


s1.time = ss.time(1:idx);
s1.channel = ss.channel(1:idx);
s1.unit = ss.unit(1:idx);

s2.time = ss.time((idx + 1):end) + ((2^32)-1)/25000;
s2.channel = ss.channel((idx + 1):end);
s2.unit = ss.unit((idx + 1):end);
