importing CTF data
Thomas Thesen
tnt at PHYSIOL.OX.AC.UK
Tue May 10 11:57:54 CEST 2005
Dear Robert,
When trying to use definetrial.m/preprocessing.m to load in the dataset
cfg = [];
cfg.dataset = 'sub12_SAM_a_C1_A1.ds';
cfg.trialdef.eventtype = '?'
cfg.trialdef.eventtype = 'C1_A1'
cfg.trialdef.prestim = 0; % trial starts at time t=0 at the marker
cfg.trialdef.poststim = 0.5; % trial ends at t=0.5 sec
and adding the line:
cfg.trialdef.excludeConditions = {'BAD'};
and running:
cfg = definetrial(cfg);
raw = preprocessing(cfg);
the trials marked 'BAD' are not excluded. However, when doing the same
procedure on the FieldTrip workshop data set for example, where the trials
are defined through a trigger, the marked trials are removed.
Do you have any suggestions on how to exclude 'BAD' trials before they are
loaded? Or is my only option to remove these 'BAD' trials after they have
been loaded into FieldTrip format? In that case would you advise to remove
the appropriate columns (trials) by hand or rather use the artifact
rejection option?
Thanks a lot.
Thomas
More information about the fieldtrip
mailing list