<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Maris,
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">It is common knowledge that due to noise/measurement error, it is hard, if not impossible to match Polhemus digitized electrode locations with the MR head shape precisely.
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Indeed this is well known.</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">Even after manual and iterative alignment some electrodes remain "hanging" in the air above the head surface, while some others get buried below the head surface. Here is an illustration of what I mean:
<a href="https://goo.gl/aSm7YU" class="">https://goo.gl/aSm7YU</a><br class="">
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
Looks quite good to me!</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">I am wondering what effect this type of electrode misplacement has on the values in the leadfield matrix as calculated by ft_prepare_leadfield? How does fieldtrip deal with electrodes placed in such a way? It seems that there is some magic involved
 there, since in theory the lead field matrix values for the electrodes not touching the surface of the head should be zero (which is not the case in the lead field matrix produced by ft_prepare_leadfield).<br class="">
</div>
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Fieldtrip pulls (or pushes) the electrodes to the head surface, to ensure that the computations make sense. If you want to know the details, grep for project_elec (which is the function that does this).</div>
<div><br class="">
</div>
<div>Best,</div>
<div>Jan-Mathijs</div>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class=""><br class="">
</div>
<div class="">I am currently testing how moving a "floating" and a "buried" electrode to its nearest point on the scalp affects the leadfield matrix values. I do not have any definite answers yet, but I did want to check in with some more experienced users
 out there before spending too much time on this (and possibly reinventing the wheel, so to speak).</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Thanks!</div>
<div class="">Maris</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="mailto:fieldtrip@donders.ru.nl" class="">fieldtrip@donders.ru.nl</a><br class="">
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>