[FieldTrip] CTF data, marker and class files

Stephen Politzer-Ahles stephen.politzer-ahles at ling-phil.ox.ac.uk
Wed Feb 17 12:09:55 CET 2016


Hello Jose,

Does it work differently if you use ft_definetrial and ft_preprocessing?
ft_read_event is a low-level function, it should be possible to read your
data without using it, and just using ft_definetrial plus ft_preprocessing.

I don't remember off the top of my head whether ft_definetrial was able to
find the BAD events in the classfile. If you don't find a better way to
deal with this issue, another way around would be to just read all your
events with ft_definetrial, and write some MATLAB code to read the
classfile directly, identify the indices of the bad trials, and remove
those rows from the trial definition (or remove them at some later time,
e.g., to keep them in the trial definition so they do get read, but then
not include those trials in your timelockanalysis later on).

best,
Steve



---
Stephen Politzer-Ahles
University of Oxford
Language and Brain Lab
Faculty of Linguistics, Phonetics & Philology
http://users.ox.ac.uk/~cpgl0080/


>
> Message: 4
> Date: Tue, 16 Feb 2016 18:43:01 +0100
> From: Jose <joseluisblues at gmail.com>
> To: fieldtrip at science.ru.nl
> Subject: [FieldTrip] CTF data, marker and class files
> Message-ID:
>         <
> CAH3cVdA_VxHQDcXX3uxoqTFva+4UsMSWP+iccgZ4zZKH51PJ8A at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> dear list,
>
> I'm trying to analyse CTF MEG data, but I'm running into problems when
> getting my triggers. ft_read_event recognize well the triggers in my
> MarkerFile.mrk, but for some reason do not look at the ClassFile.cls file,
> so I'm missing the BAD triggers in my events,
>
> Someone has run on the same problem?,
>
> thanks
> Jose
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160217/1861a604/attachment-0002.html>


More information about the fieldtrip mailing list