[Eeglablist] Problems using corrmap

Arnaud Delorme arno at ucsd.edu
Tue Jan 28 19:04:42 PST 2014


Hi Berry,

I had emailed Romain at a time to ask him what he did. He did not reply.
I have removed the code now and issued corrmap2.02.
Thanks,

Arno

On Jan 24, 2014, at 1:40 PM, berry van den berg <berryv.dberg at gmail.com> wrote:

> 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.png>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
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20140128/d4130ff7/attachment.html>


More information about the eeglablist mailing list