[Eeglablist] Artifact rejection on multiple datasets

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Tue Mar 19 10:33:20 PDT 2013


Dear HanGue,

Currently no. You should perform it for each subject.

Actually that was the motive for me to start writing a code in Matlab:
automatize the boring and time-consuming preprocess steps (and it
eliminates human error too). For that you need two simple techniques.
1. use 'eegh' to obtain the code you ran from GUI
2. use 'for...end' loop. I give you an example below. Also 'help' literally
helps.

cd('yourDataFolder')
allSetFiles = dir('*.set');
for n = 1:length(allSetFiles)
      loadFileName = allSetFiles(n).name;
      dataName = loadFileName(1:end-4);
      EEG = pop_loadset('filename', loadFileName, 'filepath', pwd);

      ..... (do your processes here)

      pop_saveset(EEG, 'filename', loadFileName, 'filepath', pwd)
end

Good luck.

Makoto

2013/3/17 HanGue Jo <johangue at gmail.com>

> Hi all,
>
> Is there any method to use "Tools -> Reject data epochs" on multiple
> datasets or a study, in one step on multiple datasets ?
>
> Best,
> HanGue.
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



-- 
Makoto Miyakoshi
JSPS Postdoctral Fellow for Research Abroad
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20130319/738513f4/attachment.html>


More information about the eeglablist mailing list