<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang="DE" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Thanks for the advice! Would it be possible for you to send me just the structure the you mentioned since I don’t have any data here that is compatible to the Fieldtrip pipeline?<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><b>Von:</b> fieldtrip <fieldtrip-bounces@science.ru.nl> <b>Im Auftrag von </b>Stephen Politzer-Ahles<br><b>Gesendet:</b> Montag, 3. Juni 2019 17:40<br><b>An:</b> fieldtrip@science.ru.nl<br><b>Betreff:</b> Re: [FieldTrip] Load already preprocessed data to fieldtrip functions<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><div><div><p class="MsoNormal">An easy way to hack it is to preprocess some other data using the Fieldtrip pipeline, grab the structure that's created, and then manually replace the appropriate fields (like .trial, .average, .time, etc.) with the fields from your own data. You may also have to replace some other fields, like .dimord, if they don't match yours; but this is pretty straightforward to do once you get familiar with the Fieldtrip data structure. This is what I've done in the past when I have data I processed in some other software or toolbox but then I want to use Fieldtrip's functions for cluster-based permutation tests or whatnot. There may be more proper or more efficient ways to do it, but this hack has worked fine for me so far.<br clear="all"><o:p></o:p></p></div><div><div><div><div><div><div><div><div><div><div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal">---<o:p></o:p></p></div><p class="MsoNormal">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><o:p></o:p></p></div></div></div></div></div></div></div></div></div><p class="MsoNormal"><o:p> </o:p></p></div><p class="MsoNormal"><o:p> </o:p></p><div><div><p class="MsoNormal"> <o:p></o:p></p></div><blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><p class="MsoNormal" style="margin-bottom:12.0pt">Message: 1<br>Date: Sun, 2 Jun 2019 16:28:08 +0200<br>From: <<a href="mailto:daniel.strahnen@uni-ulm.de" target="_blank">daniel.strahnen@uni-ulm.de</a>><br>To: <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>><br>Subject: [FieldTrip] Load already preprocessed data to fieldtrip<br> functions<br>Message-ID: <000401d5194f$66ece690$34c6b3b0$@<a href="http://uni-ulm.de" target="_blank">uni-ulm.de</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Is it possible to use the fieldtrip functions for already preprocessed data<br>that is organized in a .mat file. <br><br>The data is stored in a matrix organized as follows: Channels x samples<br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190602/37bb8ec8/attachment.html" target="_blank">http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190602/37bb8ec8/attachment.html</a>><br><br>------------------------------<o:p></o:p></p></blockquote></div></div></div></body></html>