<div dir="ltr"><div class="gmail_quote"><br><div dir="ltr"><div style="font-family:georgia,serif;font-size:small"><font color="#000000">Hi Fieldtrippers,</font></div><div style="font-family:georgia,serif;font-size:small"><font color="#000000"><br></font></div><div style="font-family:georgia,serif;font-size:small"><font color="#000000">We would like to use the ft_channelrepair(cfg, data) function.</font></div><div style="font-family:georgia,serif;font-size:small"><font color="#000000">However we don't understand how to load or convert the electrode positions into FieldTrip.<br></font></div><div style="font-family:georgia,serif;font-size:small"><font color="#000000"><br></font></div><div><font color="#000000"><font face="georgia, serif">We tried FT_READ_SENS and we looked in</font> <font face="georgia, serif">FT_DATATYPE_SENS, however there are two positions variables described in this structure:</font></font></div><div style="font-family:georgia,serif;font-size:small"><font color="#000000"><br></font></div><div style="font-family:georgia,serif;font-size:small"><pre style="padding:0.5em;margin-top:0px;font-size:12px;border:1px dashed rgb(204,204,204);color:rgb(0,0,0);overflow:hidden;font-family:Consolas,'Andale Mono',Menlo,Monaco,monospace;white-space:pre-wrap;width:640px;text-align:justify;background-color:rgb(247,249,250)">The structure for EEG or ECoG channels contains
     sens.label    = Mx1 cell-array with channel labels
     sens.chanpos  = Mx3 matrix with channel positions
     sens.tra      = MxN matrix to combine electrodes into channels
     sens.elecpos  = Nx3 matrix with electrode positions</pre></div><div style="font-family:georgia,serif;font-size:small">what do the third field mean? what is the difference between the second and the fourth?</div><div style="font-family:georgia,serif;font-size:small"><br></div><div style="font-family:georgia,serif;font-size:small"><br></div><div style="font-family:georgia,serif;font-size:small"><span style="color:rgb(0,0,0)">our format is the attached.</span><br></div></div>
</div><br><div>Thanks a lot!</div><div><br></div><div>Omer and Shlomit</div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font face="garamond, serif"><br></font></div><br></div></div></div></div></div></div></div></div>
</div>