<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Elene,<div class=""><br class=""></div><div class="">please excuse the probably useless question, but did you try to move the electrodes around in the „interactive“-mode?</div><div class="">You write:  "still have problemns in aligning correctly the headmodel and the electrodes. Although now both have the correct size, the electrodes do not correctly fit the head.“</div><div class="">It is not surprising that the electrodes don’t fit perfectly. That’s why you can use the „rotate“, „scale“ and „translate“-settings to move the electrodes around until they fit better.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Julian<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 16.01.2019 um 10:09 schrieb Elene Beitia Loinaz <<a href="mailto:elene.beitia@alumni.mondragon.edu" class="">elene.beitia@alumni.mondragon.edu</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Stephen,<div class=""><br class=""></div><div class="">Thank you for your answer. I already try that, but the result that I obtained is not correct either.</div><div class=""><br class=""></div><div class="">Code:</div><div class=""><br class=""></div><div class=""><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier;" class="">cfg=[];</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier;" class="">cfg.method= <span style="color:rgb(178,69,243)" class="">'headshape'</span>;      </div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier;" class="">cfg.headshape=headmodel.bnd(1); <span style="color:rgb(37,153,45)" class="">% this is the skin surface</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier;" class="">elec_realigned =ft_electroderealign(cfg,data1.elec);</div><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier;min-height:12px" class=""> <br class="webkit-block-placeholder"></p><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(37, 153, 45);" class="">%Plot the result to see if is correct </div><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier;color:rgb(37,153,45);min-height:12px" class=""> <br class="webkit-block-placeholder"></p><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier;" class="">vol = ft_convert_units(vol,<span style="color:rgb(178,69,243)" class="">'mm'</span>);</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(37, 153, 45);" class=""><span style="color:rgb(34,34,34)" class="">elec_realigned = ft_convert_units(elec_realigned,</span><span style="color:rgb(178,69,243)" class="">'mm'</span><span style="color:rgb(34,34,34)" class="">)</span><br class=""></div><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier;min-height:12px" class=""> <br class="webkit-block-placeholder"></p><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier;" class="">figure</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier;" class="">ft_plot_sens(elec_realigned, <span style="color:rgb(178,69,243)" class="">'style'</span>, <span style="color:rgb(178,69,243)" class="">'b'</span>);</div><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Courier;min-height:12px" class=""> <br class="webkit-block-placeholder"></p><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier;" class="">hold <span style="color:rgb(178,69,243)" class="">on</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier;" class="">ft_plot_vol(vol);</div></div><div class=""><br class=""></div><div class=""><div class=""><span id="cid:ii_jqyyh5gs2"><Captura de pantalla 2019-01-16 a las 9.59.14.png></span></div></div></div><div class=""><br class=""></div><div class="">Thank you in advance,</div><div class=""><br class=""></div><div class="">Elene.</div></div>
_______________________________________________<br class="">fieldtrip mailing list<br class=""><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">https://doi.org/10.1371/journal.pcbi.1002202<br class=""></div></blockquote></div><br class=""></div></body></html>