[Eeglablist] how to recover the cluster-average weight vector from the STUDY.cluster structure

arno delorme arno at ucsd.edu
Sun Sep 7 17:57:35 PDT 2008


Dear Bernie,

sorry for the late reply.

> I tried averaging the rows of the EEG.icaweights matrices  
> corresponding to
> the components in the cluster.  That is, I calculated a weight  
> vector by
> averaging
>
> EEG 
> (STUDY 
> .cluster(m,n).sets(i)).icaweights(STUDY.cluster(m,n).comps(i,j),:)

You need to average the rows of the inverse weight matrices

EEG(STUDY.cluster(m,n).sets(i)).icawinv(:,STUDY.cluster(m,n).comps(i,j))

It is the inverse weight matrices that contain topographies.
Hope this helps,
Best,

Arno



More information about the eeglablist mailing list