multiplotTFR for 128 channel Neuroscan EEG data ???

Ingrid Nieuwenhuis ingrid.nieuwenhuis at FCDONDERS.RU.NL
Wed May 24 13:26:35 CEST 2006


Hi Carina,

I think it could be caused by your baseline

Your trials are from 0 to 0.5 seconds
cfg7.toi        = 0:0.01:0.5;
And your baseline is from -0.5 to 0.5 seconds
cfg8.baseline   = [-0.5 0.5];

The baseline shouldn't be the whole trial.

But I'm not totally sure that this is the problem, since you describe that
the output is only a grey page.
Does matlab give an error message?

Ingrid

-----Original Message-----
From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
Of Carina Graversen
Sent: Wednesday, May 24, 2006 12:30 PM
To: FIELDTRIP at NIC.SURFNET.NL
Subject: [FIELDTRIP] multiplotTFR for 128 channel Neuroscan EEG data ???

Hi.

I'm trying to use the Fieldtrip program to create a wavelet plot of my EEG
data.

I have used it previously for 64 channel recordings, but now I'm working
with 128 channels of data, which is causing me some problems. The only thing
I have changed is the command:
cfg8.layout    = 'biosemi128.lay';

But now the figure only outputs a grey page with no Time-Frequency
distributions at all.

Can anyone tell me what I'm doing wrong - below is a complete list of all
the commands I use  :o).

Best Regards,
Carina Graversen




% *************************************************************************
% EVENTRELATEDAVERAGING
% *************************************************************************
cfg1 = [];                                                     % empty
configuration
cfg1.datafile                      = 'test128.eeg';            % 128 channel
Neuroscan eeg file
cfg1.headerfile                    = 'test128.eeg';
cfg1.channel                       = 'all';

dataFIC = preprocessing(cfg1);                                 % Preprocess!

cfg2 = [];                                                     % empty
configuration

avgFIC = timelockanalysis(cfg2, dataFIC);


% %
*************************************************************************
% % WAVELET
% %
*************************************************************************
cfg7 = [];
cfg7.output     = 'pow';
cfg7.method     = 'wltconvol'
cfg7.foi        = 1:2:30;
cfg7.t_ftimwin  = 5./cfg7.foi;
cfg7.tapsmofrq  = 0.4 *cfg7.foi;
cfg7.toi        = 0:0.01:0.5;

TFRmult = freqanalysis(cfg7, avgFIC);

cfg8 = [];
cfg8.baseline   = [-0.5 0.5];
cfg8.xlim       = [0 0.5]
cfg8.zlim       = [-3e-27 0.2];
cfg8.showlabels = 'yes';
cfg8.layout    = 'biosemi128.lay';

multiplotTFR(cfg8, TFRmult);



More information about the fieldtrip mailing list