<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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<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;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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 lang="NL" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">Dear all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">There seems to be an omission in the ft_compute_leadfield script causing some problems down the line. Can someone check if my observations are correct?<br>
In the most recent version of ft_compute_leadfield, when calculating the leadfields for MEG using a headmodel based on OpenMEEG, this is done for the MEG coils and not the sensors.<br>
There seems to be a few lines missing. These lines are:<o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">  if isfield(sens, 'tra')<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-US">    % construct the channels from a linear combination of all magnetometer coils<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-US">    lf = sens.tra * lf;<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-US">  end<o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US">These lines are present in the code for other headmodel types and convert lf per coil to lf per sensor.<br>
These missing lines subsequently causes the leadfield matrix to be modified in ft_sourceanalysis. Since the number of labels is less than the number of coils, the leadfield matrix is truncated, losing a certain amount of leadfields.<br>
<br>
My suggestion is to include the aforementioned lines in ft_compute_leadfield. Please let me know what you think!<br>
<br>
Kind regards,<br>
<br>
Bram Knipscheer<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<!-- --><hr>

<p><font size="-2" face="arial" color="black"><i>
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is
uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht
ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct
te informeren door het bericht te retourneren. Het Universitair Medisch
Centrum Utrecht is een publiekrechtelijke rechtspersoon in de zin van de W.H.W.
(Wet Hoger Onderwijs en Wetenschappelijk Onderzoek) en staat geregistreerd bij
de Kamer van Koophandel voor Midden-Nederland onder nr. 30244197.
</i></font></p>

<p><font size="-2" face="arial"  color="green"><i>
Denk s.v.p aan het milieu voor u deze e-mail afdrukt.
</i></font></p>

<hr>

<p><font size="-2"  face="arial" color="black"><i>
This message may contain confidential information and is intended
exclusively for the addressee. If you receive this message
unintentionally, please do not use the contents but notify the sender
immediately by return e-mail. University Medical Center Utrecht is a legal
person by public law and is registered at the Chamber of Commerce for
Midden-Nederland under no. 30244197.
</i></font></p>

<p><font size="-2"  face="arial" color="green"><i>
Please consider the environment before printing this e-mail.
</i></font></p>
</body>
</html>