[FieldTrip] Working with own data format - events

Marco Dahmane marco.dahmane at gmail.com
Wed Mar 16 01:43:18 CET 2011


Dear FieldTrippers,

I have a question that will probably sound trivial to you, but I haven't
been able to find the answer anywhere so I will ask it here. Please bear
with me as I am all new to FieldTrip and EEG/MEG analysis.

The data I am working with is in a format that is not recognized natively by
FT. I do however possess a MATLAB routine that allows me to read it and
store it in a .mat file.

I have followed the steps described in the FAQ, and reformatted that data
within Matlab into a datastructure that is compatible with FieldTrip, first
as one big trial then split it with ft_redefinetrial.

So far so good, as I can visualize my data trial by trial with no problem.

Now however, I would like to create my own events relative to a set
condition. My data is not marked at all so I have to do it "by hand".

I actually have 6 different experimental conditions and each one of the
trials corresponds to the MEG response under one of those conditions.

How exactly would I go about setting that up in FT ? How do I create events
that do not exist in my data?

In other words, how do I give a value to each trial (assuming I know which
trial number relates to which condition)?

It wasn't clear from the tutorials since all the data used always possesses
event data beforehand.

Thank you in advance,
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110316/3bb4a92d/attachment-0001.html>


More information about the fieldtrip mailing list