multiplotTFR for 128 channel Neuroscan EEG data ???
Carina Graversen
cgra05 at HST.AUC.DK
Wed May 24 12:29:44 CEST 2006
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