[FieldTrip] using ft_definetrial

Jörn M. Horschig jorn at artinis.com
Tue Jul 14 08:38:19 CEST 2015

Hi Nikola,


seems to be a nasty problem. I’d start with using event =
ft_read_events(cfg.dataset) and then check up the event-structure on how
they are defined there. ft_trialfun_general is literally checking that
event-structure, so defining them like they are specified in there might







Jörn M. Horschig, PhD, Software Engineer

 <http://www.artinis.com/> Artinis Medical Systems  |  +31 481 350 980 


From: fieldtrip-bounces at science.ru.nl
[mailto:fieldtrip-bounces at science.ru.nl] On Behalf Of Nikola Valchev
Sent: Monday, July 13, 2015 9:51 PM
To: 'FieldTrip discussion list'
Subject: Re: [FieldTrip] using ft_definetrial


Nope. That’s not it. No matter if I declare it as a double or string when I
call the eventtype ‘trigger’ instead of ‘?’ they are not read. 






From:  <mailto:fieldtrip-bounces at science.ru.nl>
fieldtrip-bounces at science.ru.nl [ <mailto:fieldtrip-bounces at science.ru.nl>
mailto:fieldtrip-bounces at science.ru.nl] On Behalf Of Pelt, S. van (Stan)
Sent: 13 July 2015 19:30
To: FieldTrip discussion list
Subject: Re: [FieldTrip] using ft_definetrial


What about


cfg.trialdef.eventvalue     = 1;


Op 13 jul. 2015, om 18:36 heeft Eelke Spaak <
<mailto:eelke.spaak at donders.ru.nl> eelke.spaak at donders.ru.nl> het volgende


cfg.trialdef.eventvalue     = {'1'};


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150714/67a03502/attachment-0002.html>

More information about the fieldtrip mailing list