# [Eeglablist] Numerical Values in STUDY Structure

Julie Onton julie at sccn.ucsd.edu
Tue Jun 29 10:46:52 PDT 2010

```Good question.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
basedir = '/home/you/whereyourdatais/';

subjs =
{'S01','S02','S03','S04','S05','S06','S07','S08','S09','S10','S11','S12','S13'};

subj = 3; % who do you want to plot?
cond = 1; % what condition number?

[basedir,subjs{subj},'\',STUDY.datasetinfo(1).filename(1:end-4),'.icaersp'];

% OR ITC
[basedir,subjs{subj},'\',STUDY.datasetinfo(1).filename(1:end-4),'.icaitc'];

% OR spectra:
[basedir,subjs{subj},'\',STUDY.datasetinfo(1).filename(1:end-4),'.icaspec'];

% OR topomaps:
[basedir,subjs{subj},'\',STUDY.datasetinfo(1).filename(1:end-4),'.icatopo'];

% load the raw data into the variable 'RAWdata':

% Mask an ERSP using calculated bootstrap limits (if you calculated them):

ic = 8; % choose IC to plot

oneic = ['RAWdata.comp',int2str(ic),'_ersp'];
oneic = eval(oneic);
% in case you want to see the removed baseline:
onebase = ['RAWdata.comp',int2str(ic),'_erspbase'];
onebase = eval(onebase);
% load the bootstrap significance limits:
oneboot = ['RAWdata.comp',int2str(ic),'_erspboot'];
oneboot = eval(oneboot);

% zero out non-sig values:
maskERSP(find(oneic > repmat(oneboot(:,1),[1 size(oneic,2)])& oneic <
repmat(oneboot(:,2),[1 size(oneic,2)]))) = 0;

clim = 4; % set +/- color limits
set(gca,'ydir','norm');
title(['Subj ',int2str(subj),'; IC ',int2str(ic),'; ',STUDY.condition{cond}]);
cbar;

Hope this helps,  Julie

--
Julie Onton, PhD
http://sccn.ucsd.edu/~julie

>
>
>
> Hi,
>
>
>
> I am working with STUDY structure and computed ERSP, ITC and. I can plot them
> by a single click and analyse them.
>
> Where I can find the numerical values for ERSP and ITC ? Where these values
> are stored?
>
>
>
>
>
>
> Thanks.
>
>
>
> Saim
>
> _________________________________________________________________
> Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
> https://signup.live.com/signup.aspx?id=60969_______________________________________________
> 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

```