<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks Jan-Mathijs!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I used your first suggestion and now it works fine.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It seems like the dipole_fitting facelift helped me to find an error in my code <span id="��">
��</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Best regards,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Martin</span></div>
<div>
<div id="Signature">
<div>
<div></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<p style="color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<font color="#333333" size="1"><span lang="en-US" style="margin:0px"><span style="color:rgb(118,113,113); font-family:Calibri,sans-serif; font-size:12px; text-align:left; background-color:rgb(255,255,255); display:inline!important">------------</span><br>
</span></font></p>
<p style="color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<font color="#333333" size="1"><span lang="en-US" style="margin:0px"><b>Martin Schaefer | </b></span></font><span style="font-family:Tahoma; font-size:x-small">PhD Student</span></p>
<p style="color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<font color="#333333" size="1"><span style="font-family:Tahoma; font-size:x-small; background-color:rgb(255,255,255); display:inline!important"><a href="https://www.perceptionlab.se/">https://www.perceptionlab.se/</a><br>
</span></font></p>
<p style="color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<font color="#333333" size="1">Department of Clinical Neuroscience (CNS), K8</font></p>
<p style="color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<font color="#333333" size="1">Karolinska Institutet | 17 177 Stockholm | Nobels väg 9</font></p>
<p style="color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<span lang="en-US" style="margin:0px"><font color="gray" size="1"><a href="mailto:artin.arshamian@ki.se" target="_blank" rel="noopener noreferrer" style="margin:0px">martin.schaefer@ki.se</a></font></span></p>
<p style="color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255); margin-top:0px; margin-bottom:0px">
<span lang="en-US" style="margin:0px"><font color="gray" size="1">______________________________________<br>
Karolinska Institutet – a Medical University</font></span></p>
<br>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> fieldtrip <fieldtrip-bounces@science.ru.nl> on behalf of Schoffelen, J.M. (Jan Mathijs) <jan.schoffelen@donders.ru.nl><br>
<b>Sent:</b> Thursday, July 2, 2020 2:51 PM<br>
<b>To:</b> FieldTrip discussion list <fieldtrip@science.ru.nl><br>
<b>Subject:</b> Re: [FieldTrip] Potential bug using ft_dipolefitting with fieldtrip-20200623</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">Dear Martin,
<div class=""><br class="">
</div>
<div class="">Thanks for uploading the data. </div>
<div class="">Here’s the deal: the current code doesn’t work (it could be that it worked properly before: it could be that it ran through, but probably did not behave as expected), since there is a inconsistency in the way the input cfg is defined.</div>
<div class="">Particularly, you ask for a 2 dipole model, using a symmetry constraint (which in itself is fine), + a gridsearch (which is also fine), but also with precomputed leadfields in the grid for the gridsearch. It’s the precomputed leadfields that cause
 the problem here, since these have not been built with the symmetry constraint, which means that for each element, the leadfield represents the dipolar leadfield from a single location, and not from a symmetric dipole pair. This causes a mismatch in the expected
 numbers when doing the reshaping, which causes the error you report. I suspect that either of the following would work for you:</div>
<div class=""><br class="">
</div>
<div class="">specify cfg.grid = removefields(leadfield_eeg, {‘leadfield’ ‘label’}); , and let the leadfields for the grid to be computed on the fly (because this seems to take the symmetry constraint into account), </div>
<div class=""><br class="">
</div>
<div class="">or</div>
<div class=""><br class="">
</div>
<div class="">recompute your leadfield_eeg (i.e. call ft_prepare_sourcemodel followed by ft_prepare_leadfield), but ensure that in ft_prepare_sourcemodel you specify the same symmetry constraint that you want to use for the dipolefitting.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">I hope that this helps.</div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class="">JM</div>
<div class=""><br class="">
</div>
<div class="">PS: there’s a typo in the onscreen feedback of the starting positions for the nonlinear search after the grid search. This is inconsequential for the functional behavior. I will fix this, and this fixed code will become available in the newest
 release. </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 2 Jul 2020, at 10:08, Martin Schaefer <<a href="mailto:martin.schaefer@ki.se" class="">martin.schaefer@ki.se</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div id="OwaReferenceAttachments" class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<table class="" style="padding-bottom:13px; border-width:0px; border-style:none">
<tbody class="">
<tr valign="top" class="">
<td class="">
<table class="" style="border-width:0px 0px 1px; border-color:rgb(199,199,199); border-style:none none dotted">
<tbody class="">
<tr valign="top" class="">
<td class="" style="padding-bottom:7px">
<table align="left" class="" style="padding-right:28px; border-width:0px; background-color:rgb(255,255,255); border-spacing:0px">
<tbody class="">
<tr valign="top" class="">
<td class="" style="padding:0px">
<div id="OwaReferenceAttachmentDescription" class="" style="padding-left:3px; font-size:14px; font-family:"Segoe UI","Segoe WP","Segoe UI WPC",Tahoma,Arial,sans-serif; color:rgb(102,102,102)">
Martin Schaefer has shared a OneDrive for Business file with you. To view it, click the link below.</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr valign="top" class="">
<td class=""><a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkise-my.sharepoint.com%2Fpersonal%2Fmartin_schaefer_ki_se%2FDocuments%2FBifogade%2520filer%2Fdebugging_files.rar&data=02%7C01%7Cmartin.schaefer%40ki.se%7Cf336f413bbee4b4eb6e208d81e873621%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637292913365434192&sdata=Yh3xFsTGay3XgUMvfJI0FJn4YqJNfGV5VEZOvT8oGs0%3D&reserved=0" originalsrc="https://kise-my.sharepoint.com/personal/martin_schaefer_ki_se/Documents/Bifogade%20filer/debugging_files.rar" shash="etc6wNUIevdAbFP63khkysq5HaEKNGXeuYNw8WoGS6/5L0KK/hPML0sCr33a2wBpTG9Tv2nNM2AIFiBl/mwrqOE5C70a9qC+dAKf/JCtJpoUcrbWmRUallNVenyPsqCVF86mlKRqlgMHHxFAU+Gr/wCDS8LbBmYQ0vEN/UFAbcw=" target="_blank" class="">
<table align="left" class="" style="padding-right:28px; padding-bottom:10px; border-width:0px; height:20px; background-color:rgb(255,255,255); border-spacing:0px">
<tbody class="">
<tr valign="top" class="">
<td class="" style="padding:0px">
<div class="" style="background-color:rgb(255,255,255); height:20px; width:20px; max-height:20px">
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkise-my.sharepoint.com%2Fpersonal%2Fmartin_schaefer_ki_se%2FDocuments%2FBifogade%2520filer%2Fdebugging_files.rar&data=02%7C01%7Cmartin.schaefer%40ki.se%7Cf336f413bbee4b4eb6e208d81e873621%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637292913365444186&sdata=Khkq28AsiMvShSnnuHjMpWKEESEnDWJv%2FDi8xV4KC4k%3D&reserved=0" originalsrc="https://kise-my.sharepoint.com/personal/martin_schaefer_ki_se/Documents/Bifogade%20filer/debugging_files.rar" shash="k1fcyXlGj7c5ZD1EQj94bjwNLvIjSaUbwPy8N/UEdPAP9J5dc0Es5ztyxsPFlsSA5iu8GbK7rpPQ3D71AMDYLD7guh2Pn0hG7gPmwUrby5/fEVAX8US971PhrHvChmIQTnHhH/KTiEqM/fB+aPtuWULfWG4ZnZ8zHUo2gVWC5rQ=" target="_blank" class=""><img width="20" class="" style="border:0px" src="https://r1.res.office365.com/owa/prem/images/dc-generic_20.png"></a></div>
</td>
<td class="">
<div id="OwaReferenceAttachmentFileName2" class="" style="padding:0px 0px 0px 5px; font-size:14px; font-family:"Segoe UI","Segoe WP","Segoe UI WPC",Tahoma,Arial,sans-serif; color:rgb(0,114,198)">
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkise-my.sharepoint.com%2Fpersonal%2Fmartin_schaefer_ki_se%2FDocuments%2FBifogade%2520filer%2Fdebugging_files.rar&data=02%7C01%7Cmartin.schaefer%40ki.se%7Cf336f413bbee4b4eb6e208d81e873621%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637292913365444186&sdata=Khkq28AsiMvShSnnuHjMpWKEESEnDWJv%2FDi8xV4KC4k%3D&reserved=0" originalsrc="https://kise-my.sharepoint.com/personal/martin_schaefer_ki_se/Documents/Bifogade%20filer/debugging_files.rar" shash="k1fcyXlGj7c5ZD1EQj94bjwNLvIjSaUbwPy8N/UEdPAP9J5dc0Es5ztyxsPFlsSA5iu8GbK7rpPQ3D71AMDYLD7guh2Pn0hG7gPmwUrby5/fEVAX8US971PhrHvChmIQTnHhH/KTiEqM/fB+aPtuWULfWG4ZnZ8zHUo2gVWC5rQ=" target="_blank" class="" style="text-decoration:none; margin:0px; font-size:14px; font-family:"Segoe UI","Segoe WP","Segoe UI WPC",Tahoma,Arial,sans-serif; color:rgb(0,114,198)">debugging_files.rar</a></div>
</td>
</tr>
</tbody>
</table>
</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Dear Jan-Mathijs,</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Thanks for getting back to me!</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
I did the debugging steps you recommended and attached a screenshot of the sourcemodel, the index gets created correctly as well.</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
I attached the data you asked for as a zip file, because they are ~110 mb I have to share them via OneDrive.</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
I also realised that I had writen down the wrong cfg configurations; these are the ones that lead to the error:</div>
<blockquote class="" style="border-left-width:3px; border-left-style:solid; border-color:rgb(200,200,200); padding-left:1ex; margin-left:0.8ex; color:rgb(102,102,102)">
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="">cfg = [];<br class="">
</span>
<div class="">cfg.gridsearch         = 'yes';            <br class="">
</div>
<div class="">cfg.numdipoles      = 2;           <br class="">
</div>
<div class="">cfg.symmetry         = 'x';          <br class="">
</div>
<div class="">cfg.grid                    = leadfield_eeg;    <br class="">
</div>
<div class="">cfg.headmodel       = headmodel_eeg;   <br class="">
</div>
<div class="">cfg.dipfit.metric     = 'rv';             <br class="">
</div>
<div class="">cfg.model                = 'regional';      <br class="">
</div>
<div class="">cfg.senstype           = 'eeg';            <br class="">
</div>
<div class="">cfg.channel             = 'all';           <br class="">
</div>
<div class="">cfg.nonlinear          = 'yes';            <br class="">
</div>
<div class="">cfg.latency              = late_latency;     <br class="">
</div>
<div class=""><br class="">
</div>
</div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="">dipole_eeg_late = ft_dipolefitting(cfg, timelockeds{4});</span><br class="">
</div>
</blockquote>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class=""><br class="">
</span></div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="">Best regards,</span></div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="">Martin</span></div>
<div id="x_Signature" class="">
<div class="">
<div class=""></div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<font color="#333333" size="1" class=""><span lang="en-US" class="" style="margin:0px"><span class="" style="color:rgb(118,113,113); font-family:Calibri,sans-serif; font-size:12px; text-align:left; background-color:rgb(255,255,255); display:inline!important">------------</span><br class="">
</span></font></div>
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<font color="#333333" size="1" class=""><span lang="en-US" class="" style="margin:0px"><b class="">Martin Schaefer | </b></span></font><span class="" style="font-family:Tahoma; font-size:x-small">PhD Student</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<font color="#333333" size="1" class=""><span class="" style="font-family:Tahoma; font-size:x-small; background-color:rgb(255,255,255); display:inline!important"><a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.perceptionlab.se%2F&data=02%7C01%7Cmartin.schaefer%40ki.se%7Cf336f413bbee4b4eb6e208d81e873621%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637292913365454182&sdata=NgYp3%2F2k1m2JXq6N52ucw1E88NJw4PlVIPbwWCQ1iNE%3D&reserved=0" originalsrc="https://www.perceptionlab.se/" shash="yhBae1bbIWkX1h5u2dS6oMFnuaMVYwHGgVcXT1ZBAkVlQN0518nfFDGYkfxXsDVjTAw+SAZ/T6J1LMbo8PyoP5BGwwbvPGiGFM9fhuN7Cz+8WRkqn4eqVE1yRTHlqYoyHfrbIVkCjJypbijc+E0Io0x9DId8gaNCXxSp++z7gbM=" class="">https://www.perceptionlab.se/</a><br class="">
</span></font></div>
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<font color="#333333" size="1" class="">Department of Clinical Neuroscience (CNS), K8</font></div>
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<font color="#333333" size="1" class="">Karolinska Institutet | 17 177 Stockholm | Nobels väg 9</font></div>
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<span lang="en-US" class="" style="margin:0px"><font color="gray" size="1" class=""><a href="mailto:artin.arshamian@ki.se" target="_blank" rel="noopener noreferrer" class="" style="margin:0px">martin.schaefer@ki.se</a></font></span></div>
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<span lang="en-US" class="" style="margin:0px"><font color="gray" size="1" class="">______________________________________<br class="">
Karolinska Institutet – a Medical University</font></span></div>
<br class="">
</div>
</div>
</div>
</div>
<div id="x_appendonsend" class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
</div>
<hr tabindex="-1" class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; display:inline-block; width:1093.671875px">
<span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important"></span>
<div id="x_divRplyFwdMsg" dir="ltr" class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<font face="Calibri, sans-serif" class="" style="font-size:11pt"><b class="">From:</b><span class="x_Apple-converted-space"> </span>fieldtrip <<a href="mailto:fieldtrip-bounces@science.ru.nl" class="">fieldtrip-bounces@science.ru.nl</a>> on behalf of Schoffelen,
 J.M. (Jan Mathijs) <<a href="mailto:jan.schoffelen@donders.ru.nl" class="">jan.schoffelen@donders.ru.nl</a>><br class="">
<b class="">Sent:</b><span class="x_Apple-converted-space"> </span>Wednesday, July 1, 2020 4:45 PM<br class="">
<b class="">To:</b><span class="x_Apple-converted-space"> </span>FieldTrip discussion list <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>><br class="">
<b class="">Subject:</b><span class="x_Apple-converted-space"> </span>Re: [FieldTrip] Potential bug using ft_dipolefitting with fieldtrip-20200623</font>
<div class=""> </div>
</div>
<div class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
Dear Martin,
<div class=""><br class="">
</div>
<div class="">Thanks for your message. Sorry to hear that you experience some issues. ft_dipolefitting has received a facelift recently, so it could be that the issue you report is a genuine problem. On the other hand, it could also be that something unexpected
 happens due to an unexpected feature in your data, which causes an error in the changed code. Our battery of test functions apparently ran through just fine, causing the changed function to percolate into the relase version of the codebase. Yet, our tests
 are not exhaustive, and it could be that there are user scenarios that we haven’t thought of.</div>
<div class=""><br class="">
</div>
<div class="">In order to be able to make the distinction between a genuine bug, and an interaction between features-of-the-specific-usecase and the updated code, could you investigate a bit more what’s going on, using the matlab debugger? If you put a breakpoint
 in the code on line 442 (or so), or type ‘dbstop if error’ on the matlab command line, and then execute ft_dipolefitting again, you should be able to investigate the content of the variables. Specifically, it would be interesting to know what the content is
 of the ‘sourcemodel' variable, as well as whether the variable ‘indx’ is properly created on line 442.</div>
<div class=""><br class="">
</div>
<div class="">Alternatively, you could send us some data (essentially the timelockds{4} + leadfield_eeg + headmodel_eeg which would allow us to reproduce the issue and, if needed, make a fix.</div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On 1 Jul 2020, at 13:35, Martin Schaefer <<a href="mailto:martin.schaefer@ki.se" class="">martin.schaefer@ki.se</a>> wrote:</div>
<br class="x_x_Apple-interchange-newline">
<div class="">
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
Dear all,</div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
I ran into the following error message when calling the ft_dipolefitting function on my data:</div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<blockquote class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; border-left-width:3px; border-left-style:solid; border-color:rgb(200,200,200); padding-left:1ex; margin-left:0.8ex; color:rgb(102,102,102)">
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="">Error using reshape<br class="">
</span>
<div class="">Number of elements must not change. Use [] as one of the size inputs to automatically calculate the appropriate size for that dimension.<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Error in ft_dipolefitting (line 444)<br class="">
</div>
<div class="">      dip.pos = reshape(dip.pos,3,cfg.numdipoles)';     % convert to a Nx3 array<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Error in dipole_fitting (line 152)<br class="">
</div>
<span class="">dipole_eeg_late = ft_dipolefitting(cfg, timelockeds{4});</span><br class="">
</div>
</blockquote>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
My cfg commands:</div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<blockquote class="" style="border-left-width:3px; border-left-style:solid; border-color:rgb(200,200,200); padding-left:1ex; margin-left:0.8ex; color:rgb(102,102,102)">
<span class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255); font-size:10pt">cfg = [];</span><span class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><br class="">
</span>
<div class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<span class="" style="font-size:10pt">cfg.gridsearch         = 'yes';            </span><br class="">
</div>
<div class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<span class="" style="font-size:10pt">cfg.numdipoles      = 1;                </span><br class="">
</div>
<div class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<span class="" style="font-size:10pt">cfg.symmetry         = [];              </span><br class="">
</div>
<div class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<span class="" style="font-size:10pt">cfg.grid                    = leadfield_eeg;    </span><br class="">
</div>
<div class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<span class="" style="font-size:10pt">cfg.headmodel      = headmodel_eeg;    </span><br class="">
</div>
<div class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<span class="" style="font-size:10pt">cfg.dipfit.metric    = 'rv';             </span><br class="">
</div>
<div class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<span class="" style="font-size:10pt">cfg.model               = 'regional';       </span><br class="">
</div>
<div class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<span class="" style="font-size:10pt">cfg.senstype          = 'eeg';           </span><br class="">
</div>
<div class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<span class="" style="font-size:10pt">cfg.channel           = 'all';            </span><br class="">
</div>
<div class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<span class="" style="font-size:10pt">cfg.nonlinear        = 'yes';            </span><br class="">
</div>
<div class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<span class="" style="font-size:10pt">cfg.latency             = early_latency;    </span><br class="">
</div>
<div class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<span class="" style="font-size:10pt">cfg.backproject     = 'yes';            </span><br class="">
</div>
<div class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">
<br class="">
</div>
<span class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255); font-size:10pt">dipole_eeg_early = ft_dipolefitting(cfg, timelockeds{4});</span><br class="">
</blockquote>
</div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><br class="">
</span></div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><br class="">
</span></div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">However, the code runs fine on an older version of fieldtrip (the one used during the last online fieldtrip workshop, I think it is from 16-04-2020).</span></div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><br class="">
</span></div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">So I'm not sure whether there is a bug in one of the versions or something else is wrong.</span></div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">Does anyone else have issues with this?</span></div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><br class="">
</span></div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">Best regards,</span></div>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span class="" style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)">Martin</span></div>
<div class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<br class="">
</div>
<div id="x_x_Signature" class="">
<div class="">
<div class=""></div>
<div class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<font color="#333333" size="1" class=""><span lang="en-US" class="" style="margin:0px"><span class="" style="color:rgb(118,113,113); font-family:Calibri,sans-serif; font-size:12px; text-align:left; background-color:rgb(255,255,255); display:inline!important">------------</span><br class="">
</span></font></div>
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<font color="#333333" size="1" class=""><span lang="en-US" class="" style="margin:0px"><b class="">Martin Schaefer | </b></span></font><span class="" style="font-family:Tahoma; font-size:x-small">PhD Student</span></div>
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<font color="#333333" size="1" class=""><span class="" style="font-family:Tahoma; font-size:x-small; background-color:rgb(255,255,255); display:inline!important"><a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.perceptionlab.se%2F&data=02%7C01%7Cmartin.schaefer%40ki.se%7Cf336f413bbee4b4eb6e208d81e873621%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637292913365454182&sdata=NgYp3%2F2k1m2JXq6N52ucw1E88NJw4PlVIPbwWCQ1iNE%3D&reserved=0" originalsrc="https://www.perceptionlab.se/" shash="yhBae1bbIWkX1h5u2dS6oMFnuaMVYwHGgVcXT1ZBAkVlQN0518nfFDGYkfxXsDVjTAw+SAZ/T6J1LMbo8PyoP5BGwwbvPGiGFM9fhuN7Cz+8WRkqn4eqVE1yRTHlqYoyHfrbIVkCjJypbijc+E0Io0x9DId8gaNCXxSp++z7gbM=" originalsrc="https://www.perceptionlab.se/" shash="S64WTaqSnlX+rcOPn7W4At+Ff1OHiEvbpFcdy96/dKYXJ0GRRoK8zlEl+F2rX6T4HM6SIX2XA9aoutnEcjP8ZB8yV7hAkvudLVtYvKdikDsZL2ufrFBtoYiOErWEv9xCnVV9xwnz369AcgFRFYOdkbmlGsECQuskcgUDwic2snU=" class="">https://www.perceptionlab.se/</a><br class="">
</span></font></div>
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<font color="#333333" size="1" class="">Department of Clinical Neuroscience (CNS), K8</font></div>
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<font color="#333333" size="1" class="">Karolinska Institutet | 17 177 Stockholm | Nobels väg 9</font></div>
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<span lang="en-US" class="" style="margin:0px"><font color="gray" size="1" class=""><a href="mailto:artin.arshamian@ki.se" target="_blank" rel="noopener noreferrer" class="" style="margin:0px">martin.schaefer@ki.se</a></font></span></div>
<div class="" style="margin-top:0px; margin-bottom:0px; color:rgb(32,31,30); font-family:Tahoma; font-size:13px; text-align:start; background-color:rgb(255,255,255)">
<span lang="en-US" class="" style="margin:0px"><font color="gray" size="1" class="">______________________________________<br class="">
Karolinska Institutet – a Medical University</font></span></div>
<br class="">
</div>
</div>
</div>
</div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:12px; line-height:normal; font-family:Times; min-height:14px; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="x_x_s1"></span><br class="">
</div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:12px; line-height:normal; font-family:Times; min-height:14px; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="x_x_s1"></span><br class="">
</div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:12px; line-height:normal; font-family:Times; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="x_x_s1"><i class="">När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI kommer att behandla dina personuppgifter.<span class="x_x_Apple-converted-space"> </span></i><a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fki.se%2Fmedarbetare%2Fintegritetsskyddspolicy&data=02%7C01%7Cmartin.schaefer%40ki.se%7Cf336f413bbee4b4eb6e208d81e873621%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637292913365464176&sdata=%2BG9DDpNJezqMPngfLFxHnG1nu8D5DSMsDCiVwhZ1YDM%3D&reserved=0" originalsrc="https://ki.se/medarbetare/integritetsskyddspolicy" shash="XgzaK1Hg9etg8LC+t8TpbcDCJ8uzuRm2ar9zAEzl6ZRzdQq/Y+WsSIUvclmzDzofxgBDCRFhBagQtX/Oq3xZM8DJwHxicW5lbGe2qfxf8wTNA1+mGF4nz3Pn4GR+WuR7sIxllxeRSlM38raI/MF986LtsrGpuyVkdjXBPRLfkWs=" originalsrc="https://ki.se/medarbetare/integritetsskyddspolicy" shash="cdZB/lHsjAFKhFAnY7Wzf7ptAE+I0KQXm0t1gXJMgCKwlB+Ir9cHom9U6/ZtUeyxX3wWbcm2o5xYnnpnzTeoQZGXhtmacBUWEqaoRRFh/zHSjIyGDgbF5/6ekErDf3NozqIQIeDadcWcH14/HTqegwdrp8nT4xlWeQWqt6WbxvE=" class=""><span class="x_x_s2" style="text-decoration:underline; color:rgb(0,0,238)">Här
 finns information om hur KI behandlar personuppgifter</span></a>.<span class="x_x_Apple-converted-space"> </span></span></div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:12px; line-height:normal; font-family:Times; min-height:14px; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="x_x_s1"></span><br class="">
</div>
<div class="" style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:12px; line-height:normal; font-family:Times; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="x_x_s1"><i class="">Sending email to Karolinska Institutet (KI) will result in KI processing your personal data.</i><span class="x_x_Apple-converted-space"> </span><a href="https://ki.se/en/staff/data-protection-policy" class=""><span class="x_x_s2" style="text-decoration:underline; color:rgb(0,0,238)">You
 can read more about KI’s processing of personal data here</span></a>.<span class="x_x_Apple-converted-space"> </span></span></div>
<span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">_______________________________________________</span><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">fieldtrip
 mailing list</span><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=02%7C01%7Cmartin.schaefer%40ki.se%7Cf336f413bbee4b4eb6e208d81e873621%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637292913365464176&sdata=VD3d%2FqNbgF1%2Fs3g57zao5wiPvgBOmM2TK3OnuWx9JIk%3D&reserved=0" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="IO/PdZvg7pN31L/ZAMRVj8sPJxw98JeS1evKkk34BZMDu3WATmDNQDc6x19ZpgoPGOpecItK9QOBiWh0aNZCTORZ8wQxN5JM0kGtQNS4NQlytX29PsaP1UviBknm7y0HrwuOMuS19jHtJpIOV4zPOWQUprwGjURPU1IkyA9FC/I=" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="fa6Fi7zORrFBNH0IWx/VEcZ+m8m2lfiuWe5EUH+MSkLFOuq93yVN47OGj7Jz7YtS+dyEu0/aj1QwtHoj0iKH4WWsKW0Jx2ww6dtQSqBk99o9dsTuxS4ZohsprUS3FA4GtYGiBRPNvGfuZwmoRToJARM0AqPkA53yAJbZwgUnQaQ=" class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=02%7C01%7Cmartin.schaefer%40ki.se%7Cf336f413bbee4b4eb6e208d81e873621%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637292913365474172&sdata=xP12LQ4PS2H6SLCp%2FjrWeLcOLb4avAaJyZrBChFETKU%3D&reserved=0" originalsrc="https://doi.org/10.1371/journal.pcbi.1002202" shash="dda93mYna1k/EtiTMLmo9eSxcxKTJE8Ls9mdidLj1I7LBQj51mSogr0+a/26nQtH6w1AeqYJfiCDU6TqvFr5TH+Nd1raS/A+FSYLYksKUjd7pBw03Sn9N7ZeZzOSKmepfTXS7gBMrtMnaxAAz7DeZHy3dc1VsygoWpUNpxZnAE4=" originalsrc="https://doi.org/10.1371/journal.pcbi.1002202" shash="vUw/qdjd0svnES6t+vWFlNNs2CoTIJMdaJfhvREis4IS+8SbHfczmhU5J0UaupBAUhjzLMDEA3Zmg44lxqUcB5MOgYpC9hFPUev6dDzefdzz4yYRmdJaMIuS7GTQE62HzHEZw8xGHzMlt6SrLZGX98NWCLGj3cV2FfZA8xJxG4E=" class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">https://doi.org/10.1371/journal.pcbi.1002202</a></div>
</blockquote>
</div>
<br class="">
</div>
</div>
<span id="x_cid:7CB74453-1410-4106-86F2-46F76FDD600D@home"><sourcemodel.png></span><span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">_______________________________________________</span><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">fieldtrip
 mailing list</span><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=02%7C01%7Cmartin.schaefer%40ki.se%7Cf336f413bbee4b4eb6e208d81e873621%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637292913365474172&sdata=6TM3mseVUrziGxK2u1qdBkyaE%2BAciOOsqAlOhXLDxOU%3D&reserved=0" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="HTrDWQdB+SFeVFeC2ZEkRYOIC5f90mbOWMgzzZBxXR2DhUzU/ZFdlwSKvH9E+OYGv6ITmgyFaTvPpTALUmeFMCsTqgZxk6alENLzViTwuy6eITZOXCQ2eq9QtO0zlka4itS7T1F6VreJLLP3hRH7wImNF2VmJa1e6m994DLhu1U=" class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=02%7C01%7Cmartin.schaefer%40ki.se%7Cf336f413bbee4b4eb6e208d81e873621%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637292913365484163&sdata=PejMhKTxIKRsklH8zvUgH0Dv%2F9cLpGVXaF5M4aM48cA%3D&reserved=0" originalsrc="https://doi.org/10.1371/journal.pcbi.1002202" shash="YBcg2/QkUbCTQURRAltGEy5Lk41U9Wkq5rE/EEtUergcWsyytPxQh+FytATSrl1mpqCthuAlBYr0dSkp54YeAGPx+DSR/mRZRbdSnAMLa9ocfskDcBAw66K3kdIiSl3oCl+/s54kduSflHtDkYjvgFYunDrB34MHvps94UaSGus=" class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">https://doi.org/10.1371/journal.pcbi.1002202</a></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>