<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" 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 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:#606420;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=FR link=blue vlink="#606420">

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hello,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>From the last version of fieldtrip,
ft_sourceinterpolate does not work since it cannot find ft_convert_units. I
think ft_convert_units is a new function, and it has not implemented yet in
Fieldtrip. Could you please check this issue?  I attached an error message
when I run ft_sourceinterpolate.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>the </span></font><font size=2 color="#a020f0" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#A020F0'>input</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>is</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>source</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>data</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>with</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>90364</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>positions</span></font><font
face="Courier New"><span lang=EN-GB style='font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>??? Undefined </span></font><font size=2 color="#a020f0"
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:#A020F0'>function</span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'> </span></font><font
size=2 color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:#A020F0'>or</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>method</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>'ft_convert_units'</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>for</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>input</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>arguments</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>of</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>type</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>'struct'.</span></font><font
face="Courier New"><span lang=EN-GB style='font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>Error </span></font><font size=2 color="#a020f0" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#A020F0'>in</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>==></span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>checkdata</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>at</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>340</span></font><font
face="Courier New"><span lang=EN-GB style='font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>    data = ft_convert_units(data);</span></font><font
face="Courier New"><span lang=EN-GB style='font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>Error </span></font><font size=2 color="#a020f0" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#A020F0'>in</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>==></span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>ft_sourceinterpolate</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>at</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>60</span></font><font
face="Courier New"><span lang=EN-GB style='font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>functional = checkdata(functional, </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>'datatype'</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>, </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>'volume'</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>, </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>'inside'</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>, </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>'logical'</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>, </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>'feedback'</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>, </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>'yes'</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>, </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>'hasunits'</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>, </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>'yes'</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>);</span></font><font face="Courier New"><span
lang=EN-GB style='font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>Error </span></font><font size=2 color="#a020f0" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#A020F0'>in</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>==></span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>Neurospin_SourceLevelAnalysis_V4</span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>at</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
color="#a020f0" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#A020F0'>442</span></font><font
face="Courier New"><span lang=EN-GB style='font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>           
</span></font><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>source_int =
ft_sourceinterpolate(cfg,source_ind_temp,mri_ctf);</span></font><font
face="Courier New"><span style='font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=3 face="Courier New"><span
style='font-size:12.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:black'>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:black'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>By the way, I have
corrected the unit of positions manually (cm</span></font><font size=2
face=Wingdings><span lang=EN-GB style='font-size:10.0pt;font-family:Wingdings'>à</span></font><font
size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>mm),
such as "source_ind_temp.pos = source_ind_temp.pos*10" before the
interpolation. I'm afraid that my method may become incorrect after the new
version, since the new function seems to scale the unit automatically. I would
appreciate if you could give me an advice.<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>With best regards,<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><st1:PersonName
ProductID="Masaki Maruyama" w:st="on"><font size=2 face=Arial><span lang=EN-GB
 style='font-size:10.0pt;font-family:Arial'>Masaki Maruyama</span></font></st1:PersonName><font
size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'> </span></font><font
size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

</div>

</body>

</html>
<p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p>  http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p>  http://www.ru.nl/fcdonders/fieldtrip/</p>