<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Julio,
<div class=""><br class="">
</div>
<div class="">
<div>Given the lack of responses so far, it seems that nobody has had problems with the tutorial.</div>
<div><br class="">
</div>
<div>Note that the tutorial has been written given a certain state of the toolbox, and that the tutorial documentation are not regularly updated. At least: the tutorials that we do not regularly use for our own teaching might become a bit stale. For instance,
if the code evolves, the figures, or required cfg arguments might need some adjustment on the tutorial page as well to guarantee that the figures kind of keep being matched with freshly generated results. </div>
<div><br class="">
</div>
<div>The networkanalysis_eeg tutorial is not a tutorial that is often used by power users it seems (or at least by people who feel inclined to fix things, or raise issues like you are doing right now), so hence your issue has gone unnoticed so far. It takes
a lot of time to keep all documentation up-to-date, and time is a limited resource. So any help is greatly appreciated.</div>
<div><br class="">
</div>
<div>What I notice from the tutorial, is that some code seems to be missing for the generation of figure(8). Particularly, what is missing is the interpolation step, followed by the parcellation step. Those steps were outlined in more detail a bit higher in
the tutorial, when the ’nai’ was visualized. </div>
<div>I think that if you add a few analysis steps to the source_ratio variable, that you will be able to create the figure.</div>
<div><br class="">
</div>
<div>Please feel free to update the tutorial page as well with the added code, so that your future self (or anybody else) does not run into this anymore in the future.</div>
<div><br class="">
</div>
<div>Best wishes and happy computing,</div>
<div><br class="">
</div>
<div>Jan-Mathijs</div>
<div><br class="">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 18 Jan 2022, at 19:58, Julio Ignacio Rodiño Climent via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Dear all,
<div class="">I've been trying to replicate the results from the networkanalysis_tutorial (<a href="https://urldefense.com/v3/__https://www.fieldtriptoolbox.org/tutorial/networkanalysis_eeg/__;!!HJOPV4FYYWzcc1jazlU!4h27UCzXjVMhZq7g5El0G6D32yhxpscxiVhGKJB25jukOFFPl65g0tVtKpzQS44cdqncDSyolZgYTy9ZROhNgjZlZRykpPIuRBzhtg$" class="">https://www.fieldtriptoolbox.org/tutorial/networkanalysis_eeg/</a>)
with the script in the folder (<a href="https://urldefense.com/v3/__ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/networkanalysis_eeg/__;!!HJOPV4FYYWzcc1jazlU!4h27UCzXjVMhZq7g5El0G6D32yhxpscxiVhGKJB25jukOFFPl65g0tVtKpzQS44cdqncDSyolZgYTy9ZROhNgjZlZRykpPLzkewlCA$" class="">ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/networkanalysis_eeg/</a>).
So far I was able to obtain all the figures but figure 8 in the tutorial is completely different from what I get from the script. I've checked if the script is the same from the text in the tutorial web page. That seems to be the case. I though it could be
the version from fieldtrip but tried with versions 2021 and 2020 resulting in the same figure. In the tutorial web page figure 8 seems to have been plotted with cfg.funcolormap = 'hot' even though the values I get are positive and negative which, according
to the ft_sourceplot documentation, is applied variables with only positive values. </div>
<div class=""><br class="">
</div>
<div class="">¿Has someone been able to replicate the results form the tutorial as the appear on the tutorial's web page? More specifically, figure 8. Other figures are almost (but not exactly) as they appear.</div>
<div class=""><br class="">
</div>
<div class="">Thank you all in advance!</div>
<div class="">
<div class=""><br class="">
</div>
-- <br class="">
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class=""><font face="garamond, serif" class="">Julio Rodiño</font></div>
<div class=""><span style="font-family:garamond,serif" class="">+569 92078145</span><br class="">
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!4h27UCzXjVMhZq7g5El0G6D32yhxpscxiVhGKJB25jukOFFPl65g0tVtKpzQS44cdqncDSyolZgYTy9ZROhNgjZlZRykpPIS4gTO3Q$
<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>