<div dir="ltr"><div>This really depends what you want to use that information for. Normally I would think that all trials should be preprocessed in the same way regardless of condition, so I don't really need this information at that stage, but later on it might be useful for things like regressing ERP amplitude on word length or something. But for stuff like this you don't necessarily have to have this information *in* the data structure.<br><br></div>For example, imagine I want to know which word was presented each trial. Typically, I have that list in a text file somewhere, in order (i.e., the first line of the text file is trial 1, the second line is trial 2, etc.). Then I do my various preprocessing of the EEG data in fieldtrip. Rather than actually removing the trials with artifacts, at first I just keep a list of which trials have artifact (or, better yet, which trials are 'good', without artifacts). Then I can use that list at the end of my processing pipeline to pull out the good trials and match them up to which words they are, and I can run whatever statistics I need on that. But there is no fieldtrip-specific tricks about that; I just have a text file listing all the information I need and I read that into MATLAB.<br><div><div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><span><div>---<br></div>Stephen Politzer-Ahles<br>The Hong Kong Polytechnic University<br>Department of Chinese and Bilingual Studies<br><a href="http://www.mypolyuweb.hk/~sjpolit/" target="_blank">http://www.mypolyuweb.hk/~sjpolit/</a></span><a href="http://www.nyu.edu/projects/politzer-ahles/" target="_blank"></a></div></div></div></div></div></div></div></div></div>
<div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 19 Aug 2017 18:42:57 +0200<br>
From: Roberto Petrosino <<a href="mailto:robpetrosino@gmail.com">robpetrosino@gmail.com</a>><br>
To: <a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a><br>
Subject: [FieldTrip] adding info about individual trials<br>
Message-ID: <<a href="mailto:8E89FC7C-FA23-42AE-B0D9-3981F5B8241E@gmail.com">8E89FC7C-FA23-42AE-B0D9-<wbr>3981F5B8241E@gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello everyone,<br>
<br>
I just started learning FieldTrip, and I am still adjusting to it, so apologies if my question is very basic.<br>
<br>
Before running standard pre-processing steps and artifact rejection, I need to add specific information about individual trials of my non-epoched EEG data (i.e., which word was presented for specific trials), but I can?t find my way in the documentation online. Is there any specific function it might be appropriate for this purpose?<br>
<br>
Thanks in advance,<br>
<br>
-Roberto<br>
<br>
----------<br>
Roberto Petrosino<br>
Ph.D. Student in Linguistics<br>
CT Institute for the Brain and Cognitive Sciences<br>
University of Connecticut<br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170819/3ae6923e/attachment-0001.html" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/<wbr>pipermail/fieldtrip/<wbr>attachments/20170819/3ae6923e/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/<wbr>mailman/listinfo/fieldtrip</a><br>
<br>
End of fieldtrip Digest, Vol 81, Issue 17<br>
******************************<wbr>***********<br>
</blockquote></div><br></div></div></div></div>