definetrial in CTF-file

Barbara H ändel barbara.haendel at UNI-TUEBINGEN.DE
Thu Jun 30 15:56:01 CEST 2005


Hi anyone,
I just started today to use fieldtrip with ctf.data but already have a
Problem I don't seem to be able to solve myself. So if anyone has some
advice I would be very thankful.

I tried to execute preprocessing.m however when I define my relevant trials
using

cfg.trialdef.includeTrigger=['6'];

I get the error message that no trials are beeing defined.

Now, looking into the code of definetrial.m in line 407 the variable
“triggerchan” is defined by triggerChan = read_ctf_trigger(cfg.dataset);

The problem is that it seems like that only the “backpanel” is extracted
from read_ctf_trigger however I would need the “frontpanel”. So
definetrial.m later on only finds “triggerchan” with loads of zeros and can
not match my defined trigger.

Is there any reason why only one variable is taken instead of two (as it is
done at line 455 in definetrial.m)?


Thankful for any suggestion,
Barbara



More information about the fieldtrip mailing list