[Eeglablist] Running ICA without the GUI

Bethel Osuagwu b.osuagwu.1 at research.gla.ac.uk
Mon Oct 21 14:49:25 PDT 2013


Hi Liad
 Run ICA from the GUI and when it finishes type EEG.history in the matlab's command prompt to see a line similar to this:
EEG = pop_runica(EEG, 'extended',1,'stop',1e-07,'interupt','on');
This is the line you will need to run the script outside the GUI.

Also make sure you save the dataset after the ICA. Once the dataset is saved, you should be able to move the dataset to another computer to continue processing the ICA.
The line to save the dataset outside the GUI looks like this:
EEG = pop_saveset( EEG, 'filename','EEG_ica.set','filepath','C:\myEEG');

I hope this helps.
Bethel

________________________________________
From: eeglablist-bounces at sccn.ucsd.edu [eeglablist-bounces at sccn.ucsd.edu] On Behalf Of liad glz [liad.glz at gmail.com]
Sent: 20 October 2013 01:53
To: eeglablist at sccn.ucsd.edu
Subject: [Eeglablist] Running ICA without the GUI

Hello,

I want to first run the ICA on my computer, then save the output so I could inspect the components separately (on another computer), decide which ones to reject and run the rejection procedure. I know how it is done with the GUI, but I was not sure how to do it without it. I couldn't find in the Wiki what would be the function that would present the components so I could reject them after I run the runica.m, and what is the input this function would need, and the runica.m one generates? Are the weights enough, or do I need to save all the output components (weights,sphere,compvars,bias,signs,lrates,activations)?

Many thanks for your help
Liad



More information about the eeglablist mailing list