<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)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Arial",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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 link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">Dear Fieldtrip experts,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">I have a problem with the EEG layout, which appears to be rotated by 90 degrees.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">I import data from EEGlab (power spectra), and run the stats in fieldtrip (</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">ft_freqstatistics</span><span lang="EN-GB" style="font-size:12.0pt;font-family:"Courier New"">)</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">I have my own layout with 118 electrodes, which I created with
</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">ft_prepare_layout</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black">.</span><span lang="EN-GB" style="font-size:12.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">While calling
</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">ft_clusterplot</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"> or
</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">ft_topoplotER</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">, Matlab sends the following warning:</span><span lang="EN-GB" style="font-size:12.0pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:12.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">the input is freq data with 118 channels, 4 frequencybins and no timebins<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">creating layout from data.elec<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">creating layout for ext1020 system<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">Warning: use cfg.rotate to specify the correct rotation of the sensors
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New""> In ft_prepare_layout>sens2lay at line 1300<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">In ft_prepare_layout at line 596<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">In ft_clusterplot at line 123<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">The resulting topoplot is indeed tilted (see picture attached).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">I tried to add
</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New"">cfg.rotate = -90</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"> and run again
</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">ft_prepare_layout</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black">,
</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">but the problem was unsolved.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">Could you please help to solve this issue?<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif">In case I have to modify the layout with
</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">ft_prepare_layout</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Courier New";color:black">,</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">could
 you please give me a sample code to fix that?<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Thank you very much,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Giuseppe Zito</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<div>
<div>
<div>
<div class="MsoNormal" style="background:white"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:EN-GB">
<hr size="2" width="100%" align="left">
</span></div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<b><span lang="EN-GB" style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:EN-GB">Dr. Giuseppe Angelo Zito</span></b><span lang="EN-GB" style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">Principal Investigator, Swiss National Science Foundation<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">Decision Neuroscience Lab<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">Department of Health Sciences and Technology (D-HEST)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">ETH – Swiss Federal Institute of Technology Zurich<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="FR-CH" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="FR-CH" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">Winterthurerstrasse 190<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="FR-CH" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">8057 Zürich
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.4pt;mso-para-margin-bottom:.2gd;background:white">
<span lang="FR-CH" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:EN-GB">Switzerland<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial",sans-serif;mso-fareast-language:#1000"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:#1000">Tel: +41 44 633 05 17<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#595959;mso-fareast-language:#1000">mailto: giuseppeangelo.zito@hest.ethz.ch<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>