[Eeglablist] CSD maps.

Arnaud Delorme arno at salk.edu
Thu Oct 30 14:07:09 PST 2003


The function del2map in EEGLAB computes the 2-D laplacian (CSD) of a 
scalp map. To image the laplacian of the first ICA component of an 
eeglab dataset

Th = cell2mat({ EEG.chanlocs.theta })*pi/180;
Rd = cell2mat({ EEG.chanlocs.radius });
[x y] = pol2cart(Th, Rd);
figure; topoplot(del2map(EEG.icawinv(:,1), x+j*y), EEG.chanlocs);

Arno

ps: I modified del2map so, in future EEGLAB releases, you will be able 
to type directly

figure; topoplot(del2map(EEG.icawinv(:,1),EEG.chanlocs), EEG.chanlocs);

Christopher Summerfield wrote:

>hi Arno,
>
>looking at the code for topoplot() and headplot() it seems that there's no
>option to plot a CSD (current source density) map.  I guess that what's
>involved is taking the 2nd
>derivative across the interpolated scalp data...in 2 dimensions?  do you
>have code to do this, or can you suggest how I might do it?
>thanks
>chris
>
>
>Christopher Summerfield
>summerfd at psych.columbia.edu
>_______________________________________________
>Eeglablist mailing list Eeglablist at sccn.ucsd.edu
>Eeglablist page: http://www.sccn.ucsd.edu/eeglab/eeglabmail.html
>To unsubscribe, send an empty email to eeglablist-unsub at sccn.ucsd.edu
>To switch to digest mode, send an empty email to eeglablist-digest at sccn.ucsd.edu
>
>
>  
>


-- 

*Arnaud Delorme, Ph.D.*
Computational Neurobiology Lab, Salk Institute
10010 North Torrey Pines Road
La Jolla, CA 92037 USA

*Tel* : /(+1)-858-458-1927 ext 15/
*Fax* : /(+1)-858-458-1847/
*Web page *: www.sccn.ucsd.edu/~arno <http://www.sccn.ucsd.edu/%7Earno>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20031030/265c21c7/attachment.htm


More information about the Eeglablist mailing list