selecting specific triggers

J.M. Schoffelen Jan.Schoffelen at FCDONDERS.RU.NL
Mon Dec 13 09:27:23 CET 2004


Dear ali,

Try the following function for the hits.
The quiz is to adjust it yourself to detect the misses.

JM

PS: use cfg.trialfun = 'trigger2trial_ali';

-----Original Message-----
From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
Of Ali Mazaheri
Sent: Sunday, December 12, 2004 9:38 PM
To: FIELDTRIP at NIC.SURFNET.NL
Subject: [FIELDTRIP] selecting specific triggers

Dear Collegues,
a really simple question...
I want to select  trials that are based on a quite a simple conditional
sequence of triggers.
for example I want to define hits as trigger 7 followed by a 64 ( which is
a response) within a duration of 300ms after the onset of trigger 7.
and I want to define misses as trigger 7 that is not followed by a 64
How can I set this up. I know that it should be relativly easy and
in the documentation there is mention of a definetrial function and a
trialfun.. but no example to follow.
or perhaps my brain has become
worn out due to the festive season and alcholic beverages served at parties
around this time.
regardless any help would be greatly appreciated.

kind regards
ali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trigger2trial_ali.m
Type: application/octet-stream
Size: 598 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20041213/de19e54a/attachment-0003.obj>


More information about the fieldtrip mailing list