image thumbnail

eogui – a software to analyze electro-oculogram (EOG) recordings

by

 

10 Aug 2011 (Updated )

detects blinks and saccadic eye movements in EOG recordings

ret =feinauswertung(data,diffdata,pos,len,speed_schwelle)
function ret =feinauswertung(data,diffdata,pos,len,speed_schwelle)
% $Id: feinauswertung.m 11 2004-12-16 13:44:46Z maik $
ret=[];
possible=findTreshold(diffdata(pos:pos+len),speed_schwelle);
info=size(possible);

for i=1:info(1)                
        sakkade.sign=possible(i,3);
        sakkade.maxspeedpos=pos+possible(i,4);
        sakkade.maxspeed = diffdata(sakkade.maxspeedpos);
        sakkade.start = pos+possible(i,1);
        sakkade.ende = pos+possible(i,2);
        ret=[ret sakkade];
end

Contact us