[Eeglablist] Running AMICA
Jason Palmer
japalmer29 at gmail.com
Tue May 22 00:05:43 PDT 2012
Hi Zohre,
The matlab programs amica_ex.m and amica10.m are mainly for demo purposes.
If you use runamica12.m (http://sccn.ucsd.edu/~jason/amica_web.html ) to run
one of the binaries, the following should load the output into eeglab:
>> [EEG.icaweights, EEG.icasphere, mods] =
runamica12(EEG.data(:,:));
>> EEG = eeg_checkset(EEG);
>> eeglab redraw
Runamica12.m tries to figure out if you're running pc, mac, or linux, and
use the appropriate 32 bit or 64 bit version (assuming you downloaded one of
these from the links on the webpage.)
Best,
Jason
From: eeglablist-bounces at sccn.ucsd.edu
[mailto:eeglablist-bounces at sccn.ucsd.edu] On Behalf Of Zohre Zakeri
Sent: Friday, May 18, 2012 8:48 AM
To: eeglablist at sccn.ucsd.edu
Subject: [Eeglablist] Running AMICA
Hi all,
I am trying to run AMICA algorithm in matlab on EEG data.
I found amica_ex.m and amica10.m (which is older).
I also used this command to get the components, which I found in the websie:
EEG.icawinv=pinv(EEG.icaweights);
EEG.icasphere = eye(size(EEG.icaweights));
[EEG.icaact] = eeg_getica(EEG,1:EEG.nbchan);
however, it doesn't work and I don't have any idea to work with this
algorithm and get
independent components as outpt.
can anyone help?
Thanks all,
zohre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20120522/50a54f5b/attachment.html>
More information about the eeglablist
mailing list