<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Dear community,<div><br></div><div>I am trying to use the function "ft_channelrepair", but I can't figure out how to configure the EEG electrodes position.</div><div><br></div><div>The EEG cap I used is the "Acticap 64ch standard".</div><div><br></div><div>I suppose it would work like this:</div><div><br></div><div><pre class="gmail-highlight" style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:13.2px;margin-top:0px;margin-bottom:0px;overflow:auto;color:rgb(33,37,41);background:rgb(240,240,240)"><code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;color:inherit;word-break:normal"><pre class="gmail-highlight" style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:13.2px;margin-top:0px;margin-bottom:0px;overflow:auto;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;color:inherit;word-break:normal">cfg.elec                 = </code>ft_read_sens(filename);  </pre></code></pre><pre class="gmail-highlight" style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:13.2px;margin-top:0px;margin-bottom:0px;overflow:auto;color:rgb(33,37,41);background:rgb(240,240,240)"><code style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;color:inherit;word-break:normal">data_after_interpolation = ft_channelrepair(cfg, data_before_interpolation);</code></pre></div><div><br></div><div>in which "filename" = template 3D electrode set available on <<a href="https://github.com/fieldtrip/fieldtrip/tree/master/template/electrode">https://github.com/fieldtrip/fieldtrip/tree/master/template/electrode</a>>. There is no template available for the "Acticap 64ch standard" on the mentioned website, though.</div><div><br></div><div>Then, I thought it would be valid editing the "easycap-M1.txt" template (which is available), and transforming it into the "Acticap 64ch standard", which apparently would involve deleting 8 channels and renaming two, as described on <<a href="http://www.fieldtriptoolbox.org/template/layout/#acticap-64ch-standard2mat">http://www.fieldtriptoolbox.org/template/layout/#acticap-64ch-standard2mat</a>>.</div><div><br></div><div>However, I don't know how can I do this and I'm not sure if this would be the proper way to solve this.</div><div><br></div><div>Can someone please tell me:</div><div>1. If this solution would be valid or if there is any other way to solve this?</div><div>2. In case it is valid, do I have do I have to download the "easycap-M1.txt" file, convert it into a ".m" file and then edit it? </div><div><br></div><div><br></div><div>Thank you in advance!</div><div><br></div><div>Carolina Ogawa</div><div><br></div><div><br></div><div><br></div></div>