[Eeglablist] Problems using corrmap

berry van den berg berryv.dberg at gmail.com
Fri Jan 24 13:40:11 PST 2014


Oh yeah I saw that my reply was missing in that link: see below:

Dear Arnaud,

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 corrmap works just fine...

If you have any questions, or I need to test something, feel free to email
me!

Thanks! (also for creating eeglab!)

Berry
    %%%%%%%%%%% Added by Romain 20 Aug, 2010 %%%%%%%%%%

%     % Get labels for channels used in all datasets
%     nbDatasets = length(SELEEG);
%     chanLabels = {};
%     nbChans = 0;
%     for i=1:nbDatasets
%         for j=1:length({SELEEG(i).chanlocs.labels})
%             nbChans = nbChans+1;
%             chanLabels(nbChans) = {SELEEG(i).chanlocs(j).labels};
%         end
%     end
%     % Get unique labels
%     uniChanLabels =  unique(chanLabels);
%
%     % Find matching channels indexes in loc file
%     chanIndexes = [];
%     for i=1:length(uniChanLabels)
%         chanIndex = find(strcmp({CHANS.labels}, uniChanLabels(i)));
%         if length(chanIndex)==1
%             chanIndexes(i) = chanIndex;
%         elseif length(chanIndex)==0
%             fprintf('>');
%             fprintf('ERROR: No channel in location file match channel
%s.\n', uniChanLabels{i});
%             fprintf('> \n');
%             return
%         else
%             fprintf('>');
%             fprintf('ERROR: Several channels in location file match
channel %s.\n', uniChanLabels{i});
%             fprintf('> \n');
%             return
%         end
%     end
%
%     % Use only channels from loc file which are present in datasets
%     CHANS = CHANS(chanIndexes);


On 24 January 2014 16:38, berry van den berg <berryv.dberg at gmail.com> wrote:

> Dear Avi,
>
> I had the same issue a while ago, see the link:
> http://sccn.ucsd.edu/pipermail/eeglablist/2013/006288.html
>
> Cheers,
>
> Berry
>
>
>
>
>
> On 21 January 2014 05:16, Avi Lazarovits <avila at post.bgu.ac.il> wrote:
>
>> Hello,
>> 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:
>> https://www.dropbox.com/s/alu9m0m9twztxmp/image1.png
>>
>> 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):
>> [image: תמונה מוטבעת 3]
>> https://www.dropbox.com/s/nj0yurqtm6hdn2i/image2.png
>>
>> Thank you
>> Avi
>>
>>
>>
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> To unsubscribe, send an empty email to
>> eeglablist-unsubscribe at sccn.ucsd.edu
>> For digest mode, send an email with the subject "set digest mime" to
>> eeglablist-request at sccn.ucsd.edu
>>
>
>
>
> --
> Berry van den Berg
> berryv.dberg at gmail.com
>



-- 
Berry van den Berg
berryv.dberg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20140124/b6a7229f/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 79265 bytes
Desc: not available
Url : http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20140124/b6a7229f/attachment-0001.png 


More information about the eeglablist mailing list