<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Michal,
<div class=""><br class="">
</div>
<div class="">You’re absolutely right. In theory the headmodel shouldn’t be required if you already provide the forward model. Yet, it’s a rather annoying feature of the code that it is still required for the code to run through. This is the consequence of
 a ‘once-upon-a-time’, where the forward model computation was done within ft_sourceanalysis. We have never managed to clean this up completely.</div>
<div class="">If you have a clean suggestion of how to clear this, please feel free to make a suggestion through github.</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="">J.M.Schoffelen<br class="">
Senior Researcher<br class="">
Donders Centre for Cognitive Neuroimaging, Nijmegen, The Netherlands<br class="">
<br class="">
<br class="">
</div>
<div class=""><br class="webkit-block-placeholder">
</div>
<div>
<blockquote type="cite" class="">
<div class="">On 09 Dec 2016, at 14:24, Michał Komorowski <<a href="mailto:michak@is.umk.pl" class="">michak@is.umk.pl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hello,
<div class=""><br class="">
</div>
<div class="">I am using ft_sourceanalysis to analize EEG signal using DICS method (<a href="https://www.ncbi.nlm.nih.gov/pubmed/11209067" class="">https://www.ncbi.nlm.nih.gov/pubmed/11209067</a>). </div>
<div class=""><br class="">
</div>
<div class="">I wonder why headmodel is needed to be passed to cfg to ft_sourceanalysis even though the correct leadfield is provided? In the equations for DICS there is only a leadfield needed, not a headmodel.</div>
<div class=""><br class="">
</div>
<div class="">Best regards,</div>
<div class="">Michał</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="mailto:fieldtrip@donders.ru.nl" class="">fieldtrip@donders.ru.nl</a><br class="">
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</div>
</blockquote>
</div>
<br class="">
</div>
<br class="">
<br class="">
<div class=""><br class="">
</div>
</body>
</html>