<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 Erfan,
<div class=""><br class="">
</div>
<div class="">To add to Elif’s excellent suggestions: the below error could also be due to the fact that there is something wrong with your Matlab path. Please consult the frieldtrip website in order to get this right.</div>
<div class=""><br class="">
</div>
<div class="">Good luck,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 9 May 2023, at 20:56, Erfan Vi 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" style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Hi Elif,
<div class=""><br class="">
<div class="">I get the following error while using the ft_databrowse function:</div>
<div class=""><br class="">
</div>
<div class=""><font color="#ff0000" class="">Undefined function 'ft_colormap' for input arguments of type 'char'.</font></div>
<div class=""><font color="#ff0000" class=""><br class="">
Error in ft_databrowser (line 686)<br class="">
cfg.colormap = ft_colormap(cfg.colormap);</font><br class="">
</div>
</div>
<div class=""><font color="#ff0000" class=""><br class="">
</font></div>
<div class=""><font class="">Do you know how to fix it?</font></div>
<div class=""><font class=""><br class="">
</font></div>
<div class=""><font class="">Thank you for your attention to my problem.</font></div>
</div>
<br style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<div class="gmail_quote" style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;">
<div dir="ltr" class="gmail_attr">On Sun, May 7, 2023 at 1:48 PM Elif Tülay via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr" class="">
<div class="">Hi Erfan,</div>
<div class=""><br class="">
</div>
<div class="">Maybe I can suggest a way to try until a technical answer comes from Jan. If you are familiar with your data, you can detect the bad channel by visual inspection using ft_databrowse. After that, while you are running ICA, you can exclude the bad
channel with the following format (you can modify it according to your data)</div>
<div class="">
<pre class=""><i class=""> cfg.channel = {'all','-Cz'} %just an example for excluding Cz from all channels<br class=""><br class=""></i></pre>
<pre class=""><span style="font-family: arial, sans-serif;" class="">I hope it works for you <br class=""></span></pre>
<pre class=""><span style="font-family: arial, sans-serif;" class="">Best<br class=""></span></pre>
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, May 7, 2023 at 12:41 PM Erfan Vi via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" target="_blank" class="">fieldtrip@science.ru.nl</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr" class="">Hi Jan,
<div class=""><br class="">
<div class="">Thank you for your clear response. How can I determine the name of this bad channel which is recognizable in the forwarded image? I am new to FildTrip sorry for the basic questions.</div>
<div class=""><br class="">
</div>
<div class="">Erfan-Vajdi</div>
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, May 4, 2023 at 11:01 AM Schoffelen, J.M. (Jan Mathijs) via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" target="_blank" class="">fieldtrip@science.ru.nl</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">
<div class="">Hi Erfan,
<div class=""><br class="">
</div>
<div class="">These results look like a classical example of a bad channel. If you remove this channel from the data prior to running the IC decomposition, results should look more sensible.</div>
<div class=""><br class="">
</div>
<div class="">Good luck,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On 29 Apr 2023, at 11:04, Erfan Vi via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" target="_blank" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="">
<div class="">
<div dir="ltr" class="">Dear FieldTrip users,<br class="">
I have used an example script in the <br class="">
FieldTrip site to remove EOG artifacts for MEG data example located at<span class="Apple-converted-space"> </span><a href="https://urldefense.com/v3/__https://www.fieldtriptoolbox.org/example/ica_eog/__;!!HJOPV4FYYWzcc1jazlU!8RVcT7vt9rwPHgbzvPH5IFv1KhvliFf9uclvd7fGeD9y3jTEiNhEtGq3rVOa03BcW9lZ3qoBc324h57I8PtCyKZbyA$" target="_blank" class="">https://www.fieldtriptoolbox.org/example/ica_eog/</a><span class="Apple-converted-space"> </span>using
ICA. But I got poor results as below image. Any one can help me?<br class="">
Thank you,
<div class=""><br class="">
</div>
<div class=""><span id="m_5291667971909054338m_5197245708794978286m_-4032775908443509927cid:ii_lh1r9qta1" class=""><ICA.jpg></span><br class="">
</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
<a href="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!_ooB63Attaf_OPdbDgrNPfoGjchpelM0P-JWMZ9lLTFVonbRSSbBpMb81R8FfvnjsUfICySBBmg0AjqLZ8PIy94KJuc3pStsIzKcgg$" target="_blank" class="">https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!_ooB63Attaf_OPdbDgrNPfoGjchpelM0P-JWMZ9lLTFVonbRSSbBpMb81R8FfvnjsUfICySBBmg0AjqLZ8PIy94KJuc3pStsIzKcgg$</a><span class="Apple-converted-space"> </span><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
<a href="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!4R773UOYOcin6tMZO6P8DVlwEoIVVdQiPW4NcLrS8aUY6JORVUwBCQaELONuwMZnlqOPhvaATA2uroUdlj6TQKts1Q$" rel="noreferrer" target="_blank" class="">https://doi.org/10.1371/journal.pcbi.1002202</a><br class="">
</blockquote>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
<a href="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!78wfaL8guG-ERDfcMtJlfsMlm-2kAF65V4Nw6DWLMrhVqorpaATt5nUut9_x0qKtt2ofhlfC7OxWkMU2NYLJJgDR4g$" rel="noreferrer" target="_blank" class="">https://doi.org/10.1371/journal.pcbi.1002202</a><br class="">
</blockquote>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
<a href="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!4aDSeO_wQ2IlhjEGwnD5NENcLttDjKL8Jd5NtOzxIsyJEt-toB8Tub8bIrizroTGcI5IOELHjqB_CBlxmOuo6G8tig$" rel="noreferrer" target="_blank" class="">https://doi.org/10.1371/journal.pcbi.1002202</a><br class="">
</blockquote>
</div>
<span style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">fieldtrip
mailing list</span><br style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" 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; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!-bRAl6E74efF78vDRdU9LN9dxcmfTYjeDhe7hQUw29lXcGVBmDpj-Y4fKGq7BNQ-ld9UnI6dW9JftPbgZI56JlnWqg9vLZ9X8zKsOQ$" 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; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!-bRAl6E74efF78vDRdU9LN9dxcmfTYjeDhe7hQUw29lXcGVBmDpj-Y4fKGq7BNQ-ld9UnI6dW9JftPbgZI56JlnWqg9vLZ9X8zKsOQ$</a><span style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""></span></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>