Dear Neelam,<div><br></div><div>If you have only 14 channels, do not use automatic channel rejection. That function is for the channel-rich.</div><div><br></div><div>>After running ica i try to use Tool>interpolate electrode to add one channel that was rejected.  but its not working.. </div>

<div><br></div><div>Make sure you specify a dataset that has complete channel set. Could you check it again?</div><div><br></div><div>Makoto</div><div><br><div class="gmail_quote">2013/3/19 neelam sharma <span dir="ltr"><<a href="mailto:sharma21neelam@gmail.com" target="_blank">sharma21neelam@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>I am working on eeg signal processing. I have 14 channel eeg recorded data from emotive epoc in edf format. i am applying ica to remove artifact from it. when i use Tools> automatic channel rejection, one of the 14 channels is removed. For example P7 is rejected out of Af3.....Af4. After running ica i try to use Tool>interpolate electrode to add one channel that was rejected.  but its not working.. </div>


<div>Now my question is how to interpolate or add one electrode which was removed...?</div><div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 20, 2013 at 12:30 AM,  <span dir="ltr"><<a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send eeglablist mailing list submissions to<br>
        <a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://sccn.ucsd.edu/mailman/listinfo/eeglablist" target="_blank">http://sccn.ucsd.edu/mailman/listinfo/eeglablist</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:eeglablist-owner@sccn.ucsd.edu" target="_blank">eeglablist-owner@sccn.ucsd.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of eeglablist digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: MEG_data_in_EEGLAB (Makoto Miyakoshi)<br>
   2. Re: What to do with more than one IC per subject in a     cluster<br>
      (Arnaud Delorme)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 19 Mar 2013 10:43:29 -0700<br>
From: Makoto Miyakoshi <<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>><br>
Subject: Re: [Eeglablist] MEG_data_in_EEGLAB<br>
To: Vadim A <<a href="mailto:astakhov@ncmir.ucsd.edu" target="_blank">astakhov@ncmir.ucsd.edu</a>>, John Iversen<br>
        <<a href="mailto:jiversen@ucsd.edu" target="_blank">jiversen@ucsd.edu</a>><br>
Cc: <a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a><br>
Message-ID:<br>
        <CAEqC+SVJJoxiF1wTBtTpXxk213-adENb=<a href="mailto:N8218Zfs1rnfkexFQ@mail.gmail.com" target="_blank">N8218Zfs1rnfkexFQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Dear John,<br>
<br>
Would you mind helping him?<br>
<br>
Makoto<br>
<br>
2013/3/18 Vadim A <<a href="mailto:astakhov@ncmir.ucsd.edu" target="_blank">astakhov@ncmir.ucsd.edu</a>><br>
<br>
> Hi All,<br>
><br>
> I need to analyse  some magnetoencephalography data , can I use EEGLAb for<br>
> that?<br>
><br>
> On the web page it is says that EEGLab can be used for MEG but I did not<br>
> found any tutorial how to deal with such data.<br>
><br>
> Can somebody advice?<br>
><br>
> Thanks a lot in advance.<br>
><br>
> Vadim.<br>
><br>
><br>
> > _______________________________________________<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<br>
> <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<br>
> <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br>
><br>
><br>
> _______________________________________________<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<br>
> <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<br>
> <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br>
><br>
<br>
<br>
<br>
--<br>
Makoto Miyakoshi<br>
JSPS Postdoctral Fellow for Research Abroad<br>
Swartz Center for Computational Neuroscience<br>
Institute for Neural Computation, University of California San Diego<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20130319/2b7c1c4c/attachment-0001.html" target="_blank">http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20130319/2b7c1c4c/attachment-0001.html</a><br>



<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 19 Mar 2013 18:55:55 +0100<br>
From: Arnaud Delorme <<a href="mailto:arno@ucsd.edu" target="_blank">arno@ucsd.edu</a>><br>
Subject: Re: [Eeglablist] What to do with more than one IC per subject<br>
        in a    cluster<br>
To: <<a href="mailto:tarikbelbahar@gmail.com" target="_blank">tarikbelbahar@gmail.com</a>><br>
Cc: "<a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a>" <<a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a>>,      Aleksandra<br>
        Vuckovic <<a href="mailto:Aleksandra.Vuckovic@glasgow.ac.uk" target="_blank">Aleksandra.Vuckovic@glasgow.ac.uk</a>><br>
Message-ID: <<a href="mailto:EA05868A-23B5-4CB2-BF89-3105FC5F2A25@ucsd.edu" target="_blank">EA05868A-23B5-4CB2-BF89-3105FC5F2A25@ucsd.edu</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Yes, this sounds like a good solution.<br>
When using STUDY, if you want to plot ERP for a given cluster, you may simply add the ERP of all components from the same subjects. The code below will do that and merge components if there are several per subject.<br>
<br>
clust   = 10;<br>
STUDY = std_erpplot(STUDY,ALLEEG,'clusters',clust);<br>
<br>
erpData  = STUDY.cluster(clust).erpdata;<br>
erpTimes = STUDY.cluster(clust).erptimes;<br>
setInds  = STUDY.cluster(clust).setinds;<br>
<br>
% scan design<br>
for iCell = 1:length(setInds(:))<br>
    % scan subjects<br>
    uniqueSubj = unique(setInds{iCell});<br>
    for iSubj = 1:length(uniqueSubj)<br>
        subjInd    = setInds{iCell} == uniqueSubj(iSubj);<br>
        erpData2{iCell}(:,iSubj) = sum( erpData{iCell}(:,subjInd), 2);<br>
    end;<br>
end;<br>
<br>
std_plotcurve(erpTimes, erpData2);<br>
<br>
Best,<br>
<br>
Arno<br>
<br>
On 15 Mar 2013, at 01:24, Tarik S Bel-Bahar wrote:<br>
<br>
> Hello,<br>
> Here below is an example of some code that used to work when I had to<br>
> merge ICs in the past,<br>
> So I am not sure if it still works.<br>
> A standardized solution would be useful.<br>
> If possible, any followup thoughts from Makoto or Arno would be nice.<br>
> For the time being, I hope it's a step in the right direction.<br>
><br>
><br>
> IC1=1;IC2=3;<br>
> % normalize scalp maps (columns of W^-1) to have same sign<br>
>    sgn = sign(corr(EEG.icawinv(:,IC1),EEG.icawinv(:,IC2)));<br>
><br>
> % average the scalp maps<br>
><br>
> EEG.icawinv(:,IC1) = (EEG.icawinv(:,IC1) + sgn*EEG.icawinv(:,IC2))/2;<br>
> EEG.icawinv(:,IC2) = [];<br>
><br>
> % recompute weights and sphering matrix % note that we assume<br>
> icaweights= W*Q where Q is the "true" sphering % matrix (who's<br>
> information is already contained in icawinv = W^-1=A)<br>
><br>
> EEG.icaweights = pinv(EEG.icawinv); EEG.icasphere = eye(EEG.nbchan);<br>
><br>
> % recompute ICA activations (S = W*X)<br>
><br>
> EEG.icaact = EEG.icaweights*EEG.data(:,:); EEG.icaact =<br>
> reshape(EEG.icaact,size(EEG.icaact,1),EEG.pnts,EEG.trials);<br>
> [ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, 2 ); eeglab redraw<br>
> _______________________________________________<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><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20130319/754e7aa3/attachment-0001.html" target="_blank">http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20130319/754e7aa3/attachment-0001.html</a><br>



<br>
------------------------------<br>
<br>
_______________________________________________<br>
eeglablist mailing list <a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a><br>
Eeglablist page: <a href="http://www.sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://www.sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsub@sccn.ucsd.edu" target="_blank">eeglablist-unsub@sccn.ucsd.edu</a><br>
To switch to non-digest mode, send an empty email to <a href="mailto:eeglablist-nodigest@sccn.ucsd.edu" target="_blank">eeglablist-nodigest@sccn.ucsd.edu</a><br>
<br>
End of eeglablist Digest, Vol 101, Issue 30<br>
*******************************************<br>
</blockquote></div><br></div>
<br>_______________________________________________<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">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">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><div><br></div>

-- <br>Makoto Miyakoshi<br>JSPS Postdoctral Fellow for Research Abroad<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br>
</div>