<div dir="ltr">Oh yeah I saw that my reply was missing in that link: see below:<div><br></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Dear Arnaud,</span><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">Leaving in line 272 (CHANS = CHANS(~cellfun(@isempty, { CHANS.theta }));) works fine. Just to be sure we are talking about the same lines: I commented out the part below and then <span class="">corrmap</span> works just fine... </div>
<div style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">If you have any questions, or I need to test something, feel free to email me!</div>
<div style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">Thanks! (also for creating eeglab!)</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">Berry</div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px"><div> %%%%%%%%%%% Added by Romain 20 Aug, 2010 %%%%%%%%%%</div>
<div><br></div><div>% % Get labels for channels used in all datasets</div><div>% nbDatasets = length(SELEEG);</div><div>% chanLabels = {};</div><div>% nbChans = 0;</div><div>% for i=1:nbDatasets</div><div>
% for j=1:length({SELEEG(i).chanlocs.labels})</div><div>% nbChans = nbChans+1;</div><div>% chanLabels(nbChans) = {SELEEG(i).chanlocs(j).labels};</div><div>% end</div><div>% end</div>
<div>% % Get unique labels</div><div>% uniChanLabels = unique(chanLabels);</div><div>% </div><div>% % Find matching channels indexes in loc file</div><div>% chanIndexes = [];</div><div>% for i=1:length(uniChanLabels)</div>
<div>% chanIndex = find(strcmp({CHANS.labels}, uniChanLabels(i)));</div><div>% if length(chanIndex)==1</div><div>% chanIndexes(i) = chanIndex;</div><div>% elseif length(chanIndex)==0</div>
<div>% fprintf('>');</div><div>% fprintf('ERROR: No channel in location file match channel %s.\n', uniChanLabels{i});</div><div>% fprintf('> \n');</div><div>
% return</div><div>% else</div><div>% fprintf('>');</div><div>% fprintf('ERROR: Several channels in location file match channel %s.\n', uniChanLabels{i});</div>
<div>% fprintf('> \n');</div><div>% return</div><div>% end</div><div>% end</div><div>% </div><div>% % Use only channels from loc file which are present in datasets</div><div>
% CHANS = CHANS(chanIndexes);</div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 24 January 2014 16:38, berry van den berg <span dir="ltr"><<a href="mailto:berryv.dberg@gmail.com" target="_blank">berryv.dberg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Avi,<div><br></div><div>I had the same issue a while ago, see the link: <a href="http://sccn.ucsd.edu/pipermail/eeglablist/2013/006288.html" target="_blank">http://sccn.ucsd.edu/pipermail/eeglablist/2013/006288.html</a></div>
<div><br></div><div>Cheers,</div><div><br></div><div>Berry</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 21 January 2014 05:16, Avi Lazarovits <span dir="ltr"><<a href="mailto:avila@post.bgu.ac.il" target="_blank">avila@post.bgu.ac.il</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_quote"><div dir="rtl"><div dir="ltr">Hello, </div><div dir="ltr">
I am trying to use corrmap for rejection of eye blinkings from my EEG data. For some reason, when I choose an IC as a template corrmap shows a completely different component for the template IC and also for the clustered IC. For example, I chose this IC as a template IC I chose:</div>
<div dir="ltr"><a href="https://www.dropbox.com/s/alu9m0m9twztxmp/image1.png" target="_blank">https://www.dropbox.com/s/alu9m0m9twztxmp/image1.png</a><br></div>
<div dir="ltr"><br></div><div dir="ltr">and I get this output screen from corrmap (this is the figure of the first iteration I get when choosing a non 0.88 as the correlation threshold):</div>
<div dir="ltr"><img src="cid:ii_143afb71c901fb21" alt="תמונה מוטבעת 3" width="0" height="0"><a href="https://www.dropbox.com/s/nj0yurqtm6hdn2i/image2.png" target="_blank">https://www.dropbox.com/s/nj0yurqtm6hdn2i/image2.png</a><br>
</div>
<div dir="ltr"><br></div><div dir="ltr">
Thank you</div><span><font color="#888888"><span><font color="#888888"><div dir="ltr">Avi</div><div dir="ltr"><br></div><div dir="ltr"><br></div></font></span></font></span></div>
</div></div>
<br></div></div>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>
-- <br>Berry van den Berg<br><a href="mailto:berryv.dberg@gmail.com" target="_blank">berryv.dberg@gmail.com</a>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Berry van den Berg<br><a href="mailto:berryv.dberg@gmail.com" target="_blank">berryv.dberg@gmail.com</a>
</div>