<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><title>Re: [Eeglablist] ICA on lowpass / highpass filtered data</title><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
p.Bobletekst, li.Bobletekst, div.Bobletekst
        {mso-style-name:Bobletekst;
        mso-style-link:"Bobletekst Tegn";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.BobletekstTegn
        {mso-style-name:"Bobletekst Tegn";
        mso-style-priority:99;
        mso-style-link:Bobletekst;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:black;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Pål</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I agree with you on theoretical grounds. Do you have any relevant citations from your own work or that of others, specifically on scalp recording in normal or epileptics, and how non-cerebral artifacts were dealt with?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-Jeff Eriksen<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>OHSU<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> eeglablist-bounces@sccn.ucsd.edu [mailto:eeglablist-bounces@sccn.ucsd.edu] <b>On Behalf Of </b>Pål Gunnar Larsson<br><b>Sent:</b> Monday, May 20, 2013 11:37 PM<br><b>To:</b> 'Barry Oken'; japalmer@ucsd.edu; 'Krebber, Martin'; 'Simon-Shlomo Poil'; mmiyakoshi@ucsd.edu; eeglablist@sccn.ucsd.edu<br><b>Subject:</b> Re: [Eeglablist] ICA on lowpass / highpass filtered data<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Just a note. There are practically no filters in the skull/scalp beneath 1000Hz. The reason for the low pass  "filter effect" is the dispersion phenomena - higher frequencies tend to have a higher spatial frequencies and time differences makes larger phase-shifts in higher frequencies blurring the signal. I have have myself recorded nice coherences above 100 Hz in current source density estimates in 64 ch scalp recordings in epilepsy patients.</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Pål</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:7.5pt;font-family:"Arial","sans-serif";color:navy'>Denne meldingen inneholder ikke sensitiv informasjon som bryter med Rikshospitalets krav til informasjonssikkerhet.</span><span lang=NO-BOK style='color:#1F497D'> <br></span><span lang=NO-BOK style='font-size:7.5pt;font-family:"Arial","sans-serif";color:navy'>(In compliance with the Security Policy of Rikshospitalet , the content of this message (including any attachments) is of a non-sensitive nature)</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span lang=NO-BOK style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>Fra:</span></b><span lang=NO-BOK style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> <a href="mailto:eeglablist-bounces@sccn.ucsd.edu">eeglablist-bounces@sccn.ucsd.edu</a> <a href="mailto:[mailto:eeglablist-bounces@sccn.ucsd.edu]">[mailto:eeglablist-bounces@sccn.ucsd.edu]</a> <b>På vegne av</b> Barry Oken<br><b>Sendt:</b> 21. mai 2013 01:29<br><b>Til:</b> <a href="mailto:japalmer@ucsd.edu">japalmer@ucsd.edu</a>; 'Krebber, Martin'; 'Simon-Shlomo Poil'; <a href="mailto:mmiyakoshi@ucsd.edu">mmiyakoshi@ucsd.edu</a>; <a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a><br><b>Emne:</b> Re: [Eeglablist] ICA on lowpass / highpass filtered data</span><span lang=NO-BOK><o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=NO-BOK> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>HI. Agreed that despite there clearly being gamma activity if recording directly from the cortex, gamma activity in recordings from the scalp are likely contaminated by non-cerebral sources, the most creative experiment to this effect was Whitham et al, Clinical Neurophysiology 2007, 118:1877-1888.</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards,</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Barry Oken</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Depts of Neurology, Behavioral Neuroscience and Biomedical Engineering</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> <a href="mailto:eeglablist-bounces@sccn.ucsd.edu">eeglablist-bounces@sccn.ucsd.edu</a> [<a href="mailto:eeglablist-bounces@sccn.ucsd.edu">mailto:eeglablist-bounces@sccn.ucsd.edu</a>] <b>On Behalf Of </b>Jason Palmer<br><b>Sent:</b> Monday, May 20, 2013 1:34 PM<br><b>To:</b> 'Krebber, Martin'; 'Simon-Shlomo Poil'; <a href="mailto:mmiyakoshi@ucsd.edu">mmiyakoshi@ucsd.edu</a>; <a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a><br><b>Subject:</b> Re: [Eeglablist] ICA on lowpass / highpass filtered data</span><span lang=NO-BOK><o:p></o:p></span></p></div></div><p class=MsoNormal> <span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Hi Martin,</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>My take: I think a large part of the reason for the disappointing high-frequency decomposition is due to the extreme attenuation of the skull of high-frequency low-amplitude sources. The independent components usually extracted in ICA of EEG are primarily low frequency, plus muscle, eye, and line noise. One might think that a low frequency, say midline theta, component might contain gamma, possibly amplitude correlated to a certain phase of theta. Personally I haven’t had a lot of success with this in EEG. So there is a question of how much brain signal is left in the high-pass part. There is also a question of how intermittent the high-frequency signal, or how non-stationary relative to other intermittent high-frequency signals.</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>As for the computation time increase, I have noticed this kind of thing as well, and don’t know the reason, but have thought it had something to do with caching data in the CPU—the next number multiplied in the low-pass data might require fewer register or bit modifications.</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I think your comments on PCA vs. ICA are right. ICA should extract independent components regardless of variance. I don’t think there is a way to estimate the number of ICs without actually performing ICA. You can then check pairwise mutual information of the sources and count the number of ICs having less than some threshold of mutual information with all other components, or the number of independent subspaces (with only pairwise mutual info within themselves.)</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Best,</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Jason</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><span lang=NO-BOK><o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> <a href="mailto:eeglablist-bounces@sccn.ucsd.edu">eeglablist-bounces@sccn.ucsd.edu</a> [<a href="mailto:eeglablist-bounces@sccn.ucsd.edu">mailto:eeglablist-bounces@sccn.ucsd.edu</a>] <b>On Behalf Of </b>Krebber, Martin<br><b>Sent:</b> Friday, May 17, 2013 9:28 AM<br><b>To:</b> Simon-Shlomo Poil; <a href="mailto:mmiyakoshi@ucsd.edu">mmiyakoshi@ucsd.edu</a>; <a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a><br><b>Subject:</b> Re: [Eeglablist] ICA on lowpass / highpass filtered data</span><span lang=NO-BOK><o:p></o:p></span></p></div></div><p class=MsoNormal> <span lang=NO-BOK><o:p></o:p></span></p><div><p class=MsoNormal>Hi,<br><br>thanks a lot for your input. I tried Simons PCA approach on a couple of datasets and it seems like I need less than half of my components to explain 99% of variance in my high high frequency data. <br><br>I am wondering, though, if this approach is appropriate since PCA and ICA work differently. As far as I understood, PCA tries to maximize the variance explained of each component, whereas ICA tries to maximize the independence of the components. So if, for instance, 64 PCs explain 99% of my variance, 64 ICs might explain much less.<br><br>Another thing that seems worth mentioning is that when I run the same procedure over the low pass data or the original unsplit data I need even fewer PCs to explain the same percentage of variance. So this procedure does not really explain why my ICA on the high pass filtered data takes so much longer than the ICAs in low frequency or unsplit data. <br><br>Could it be that it's a question of independence rather than of variance explained? Is there a way to estimate how many independent sources there are in the data?<br><br>Thanks!<br><br>Martin<br><br><br><br>On 17.05.2013 00:25, Simon-Shlomo Poil wrote:<span lang=NO-BOK><o:p></o:p></span></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p><span style='font-size:10.0pt'>Dear Martin,<br><br>As Makoto says, you make the channels less independent of each other.<br>It might be resonable* to reduce using PCA. One way to determine the<br>number of relevant dimesions could be<br>[COEFF, SCORE, LATENT] = princomp(EEG.data');<br>tmp  = cumsum(LATENT);<br>nr=find(tmp/tmp(end)>0.975,1);<br><br>, which gives you the number of principle components explaining 97.5 %<br>of the variance.<br><br>*you can find previous mails discussing pro-/con-  of PCA reduction on<br>the this list (I remember there was even a paper in prep? I didn't see<br>it come out)<br><br>Best wishes<br>Simon<br><br>--<br>Simon-Shlomo Poil, Dr.<br><br>2013/5/16 Makoto Miyakoshi <a href="mailto:mmiyakoshi@ucsd.edu"><mmiyakoshi@ucsd.edu></a>:<br>> Dear Martin,<br>><br>> If you apply a band-pass filter, your channel data become less independent<br>> of each other i.e. rank-reduced.<br>><br>> Imagine you apply an extreme band-pass filter, say 10-11Hz. All of your<br>> channel data look very much like each other.<br>><br>> Makoto<br>><br>><br>> 2013/5/16 Krebber, Martin <a href="mailto:martin.krebber@charite.de"><martin.krebber@charite.de></a><br>>><br>>> Hi all,<br>>><br>>><br>>> I am currently working on an analysis were I split the data into low and<br>>> high frequency portions using a lowpass (cutoff 35 Hz) and a highpass<br>>> (20 Hz) filter, respectively. The idea behind this approach is to do the<br>>> ICA artefact rejection seperately on low and high frequency data in<br>>> order to be better able to reject high frequency muscle artefacts and<br>>> obtain a clearer brain signal in the gamma range.<br>>><br>>> My problem is that, especially with the highpass filtered data, ICA<br>>> takes a very long time (roughly 5-10 times the usual) and even then the<br>>> decomposition does not look very clean. I tried to reduce the<br>>> dimensionality of the data (from 128 to 96) by applying the PCA<br>>> parameter in pop_runica and it is way faster. Is it justified, or maybe<br>>> even recommended to reduce the data dimensionality after filtering out a<br>>> considerable portion of the signal? And if so, is there a rule of thumb<br>>> about how much to reduce the data dimensionality?<br>>><br>>> Thanks for any suggestions!<br>>><br>>> Regards,<br>>> Martin<br>>><br>>> _______________________________________________<br>>> Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">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">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">eeglablist-request@sccn.ucsd.edu</a><br>><br>><br>><br>><br>> --<br>> Makoto Miyakoshi<br>> Swartz Center for Computational Neuroscience<br>> Institute for Neural Computation, University of California San Diego<br><br><br><br>--</span><span lang=NO-BOK><o:p></o:p></span></p></blockquote><p class=MsoNormal> <span lang=NO-BOK><o:p></o:p></span></p></div></body></html>