<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Scott,<div><br></div><div>I would probably low pass filter below 10 Hz to be sure to remove high frequency parameters before doing this test. Also this will depend on your data sampling rate. 15 points at 256 Hz is 60 ms but it is only 30 ms at 512 Hz.</div><div><br></div><div>Then you can try something like if you want to use the first channel</div><div><br></div><div style="font-size: 16px; ">diffData = diff(EEG.data(1,:));</div><div style="font-size: 16px; ">index = 1;</div><div style="font-size: 16px; ">while index < EEG.pnts-14</div><div style="font-size: 16px; "><span class="Apple-tab-span" style="white-space:pre"> </span>if all(diffData(index:index+14) > 0)</div><div style="font-size: 16px; "><span class="Apple-tab-span" style="white-space: pre; "> </span>EEG.event(end+1) = 'blink';</div><div style="font-size: 16px; "><span class="Apple-tab-span" style="white-space: pre; "> </span>EEG.event(end).latency = index;</div><div style="font-size: 16px; "><span class="Apple-tab-span" style="white-space: pre; "> </span>index = index + EEG.srate; % jump by one second</div><div style="font-size: 16px; "><span class="Apple-tab-span" style="white-space:pre"> </span>end;</div><div style="font-size: 16px; "><span class="Apple-tab-span" style="white-space: pre; "> </span>index = index + 1;</div><div style="font-size: 16px; ">end</div><div style="font-size: 16px; ">EEG = eeg_checkset(EEG, 'eventconsistency');</div><div style="font-size: 16px; ">[ALLEEG EEG CURRENTSET] = eeg_store(ALLEEG, EEG, CURRENTSET);</div><div style="font-size: 16px; ">eeglab redraw</div><div><br></div><div>Best regards,</div><div><br></div><div>Arno</div><div><br><div><div>On Jun 21, 2011, at 2:29 PM, Scott Munro wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello,<div> We have a set a MEg data from a CTF machine that we have imported into eeglab. We are trying to isolate the saccades in the horizontal eog channels. I am hoping that eeglab will allow us to do that. Up until now we have just been looking at a plot of the eog value and manually identifying the saccades, this of course is less than Ideal.</div>
<div><br></div><div> No calibration routine was done so we found a paper that gives some criteria for isolating saccades. Basically they label the start of a saccade when the voltage increased (or decreased) for 15 consecutive time points and the chnage over those 15 times points was greater than 100 micro volts. We were hoping to use the same criteria.</div>
<div><br></div><div> I am extremely new to eeglab and this type of data. I have yet been able to find a way to implement a search of teh data for situations that meet this criteria. </div><div><br></div><div> Any help would be greatly appreciated.</div>
<div><br></div><div> Thank you in advance.</div><div><br></div><div> Scott Munro</div>
_______________________________________________<br>Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a></blockquote></div><br></div></body></html>