[FieldTrip] (no subject)
Cardinale, Vita (Stud. FPN / Alumni)
m.cardinale at student.maastrichtuniversity.nl
Fri Jan 27 12:32:49 CET 2012
Dear all,
I just started to use FIELDTRIP with going through the tutorial. Already reading in the data from the tutorial is not working as it should. Here is what I get when doing the trial definition for the fully incongruent (FIC) condition from the tutorial
“Trigger-based trial selection, Reading and preprocessing the interesting trials”:
cfg = [];
cfg.dataset = 'Subject01.ds';
cfg.trialdef.eventtype = 'backpanel trigger';
cfg.trialdef.eventvalue = 3; % the value of the stimulus trigger for fully incongruent (FIC).
cfg.trialdef.prestim = 1; % in seconds
cfg.trialdef.poststim = 2; % in seconds
cfg = ft_definetrial(cfg);
I get this warning:
no trialfun was specified, using trialfun_general
> In ft_definetrial at 123
evaluating trialfunction 'trialfun_general'
readCTFds: Data set error : size of meg4 file(s)
0 bytes (from dir command)
179071200 bytes (from res4 file)
reading the events from 'Subject01.ds\Subject01.res4'
readCTFds: Data set error : size of meg4 file(s)
0 bytes (from dir command)
179071200 bytes (from res4 file)
When using hdr = ft_read_header('Subject01.ds') or hdr = ft_read_header('Subject01.ds/Subject01.res4')
I get this warning:
Warning: adding D:\Vita\fieldtrip-20120124\external\ctf toolbox to your Matlab path
readCTFds: Data set error : size of meg4 file(s)
0 bytes (from dir command)
179071200 bytes (from res4 file)
together with this output:
hdr =
Fs: 300
nChans: 187
nSamples: 900
nSamplesPre: 300
nTrials: -1
label: {187x1 cell}
grad: [1x1 struct]
orig: [1x1 struct]
chantype: {187x1 cell}
chanunit: {187x1 cell}
which according to the tutorial should be:
hdr =
Fs: 300 % sampling frequency
nChans: 187 % number of channels
nSamples: 900 % number of samples per trial
nSamplesPre: 300 % number of pre-trigger samples in each trial
nTrials: 266 % number of trials
label: {187x1 cell} % cell-array with labels of each channel
grad: [1x1 struct] % gradiometer structure
orig: [1x1 struct] % additional header information
What could go wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120127/8cc6187b/attachment-0001.html>
More information about the fieldtrip
mailing list