[Eeglablist] using pop_eegplot and eeg_eegrej in a script

Sebastian Urchs sebastian.urchs at gmail.com
Sat Jun 4 08:31:23 PDT 2011


Hi,

 

I am setting up a pipeline for multi-subject data preprocessing including
ICA on a cluster. Now in order to clean up the data before running ICA I
would like to use pop_eegplot() from inside a script that loops through all
my subjects. I will then halt the script until the pop_eegplot() window is
closed again and run eeg_eegrej() on the marked data-parts. 

 

Now my questions are:

 

: First, sliding through a large dataset in pop_eegplot() is not effective
at the default displayed timerange. Of course this can be changed manually
each time by pointing and clicking but it would be great if I could hand
over arguments to pop_eegplot() when it is called that make the displayed
time range say 50s. I have not managed to change 

 

"eegplotoptions = { 'winlength', 5, 'events', EEG.event };"

 

arguments from the pop_eegplot.m file itself - could it be that those
settings are hardwired into the file?

 

: Second, I am wondering where the arrays with the data marked for rejection
are stored within the EEG structure. I would then use this information to
call pop_eegrej() in the script which would make the whole rejection process
much faster.

 

Thanks a lot in advance!

 

Sebastian,

LMU Munich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20110604/37dc9a1d/attachment.html>


More information about the eeglablist mailing list