[Eeglablist] Scalp map

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Thu Jan 14 14:16:02 PST 2016


Dear Jason,

You band-pass filter the data from 8 to 13 Hz and plot channel scalp
topography. If you want to show scalp topography of specific band of power
spectrum density, I'm afraid you need to code a little bit.

%%%%%%%%%%%%%%%%%%%
% for your epoched data, channel 2
[spectra,freqs] = spectopo(EEG.data(2,:,:), 0, EEG.srate);

% delta=1-4, theta=4-8, alpha=8-13, beta=13-30, gamma=30-80
deltaIdx = find(freqs>1 & freqs<4);
thetaIdx = find(freqs>4 & freqs<8);
alphaIdx = find(freqs>8 & freqs<13);
betaIdx  = find(freqs>13 & freqs<30);
gammaIdx = find(freqs>30 & freqs<80);

% compute absolute power
deltaPower = mean(10.^(spectra(deltaIdx)/10));
thetaPower = mean(10.^(spectra(thetaIdx)/10));
alphaPower = mean(10.^(spectra(alphaIdx)/10));
betaPower  = mean(10.^(spectra(betaIdx)/10));
gammaPower = mean(10.^(spectra(gammaIdx)/10));
%%%%%%%%%%%%%%%%%

...and use topoplot() function.

Alternatively, you maybe able to find a solution for you in Simon's NBT.
https://www.nbtwiki.net/

Makoto

On Fri, Jan 8, 2016 at 11:26 PM, jason roger <jasonroger8 at gmail.com> wrote:

> Dear all,
>
> I'm wondering about the good way in EEGLAB to plot scalp map based on the
> associated frequencies,  e.g., [8 13]. My major aim is plotting not based
> on single value (mean), but instead, it is based on the band range.
>
> Any help would be highly appreciated.
>
> Jason
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20160114/030ef26e/attachment.html>


More information about the eeglablist mailing list