<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Hi Dennis,&nbsp;</div>
<div><br>
</div>
<div>Thanks a lot for youre reply. Please see my answers below:</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Denis-Alexander Engemann &lt;<a href="mailto:denis.engemann@gmail.com">denis.engemann@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Monday, November 3, 2014 2:43 PM<br>
<span style="font-weight:bold">To: </span>The Children's Hospital of Philadelphia The Children's Hospital of Philadelphia &lt;<a href="mailto:cheny4@email.chop.edu">cheny4@email.chop.edu</a>&gt;, &quot;&lt;<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a>&gt;&quot;
 &lt;<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [Mne_analysis] summary performance for ICA<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi Yuhan,<br>
<br>
I include the mailing list in this part of our conversation because this might be interesting for other people as well.<br>
<br>
<br>
2014-11-03 20:30 GMT&#43;01:00 Chen, Yu-han &lt;<a href="mailto:CHENY4@email.chop.edu">CHENY4@email.chop.edu</a>&gt;:<br>
&gt;<br>
&gt; Hi Dennis, <br>
&gt;<br>
&gt; I (...) figured out that the SSP was turned on during epoching. Our original problem is that when we tried to epoch raw data, ICA cleaned data, ECG signal, the averaged ECG epoch is flat (zeros across the entire epoch). When we set proj = False for mne.Epoch,
 the problem is resolved. Is it true that by default, Epoch.py will set the SSP on?
<br>
&gt;<br>
<br>
Yes, you need to take care of this. Anyways I'm surprised you're getting flat signals. What kind of SSPs did you include?
</div>
</div>
</div>
</span>
<div><br>
</div>
<div>*** I didn't intentionally include any SSPs when I read in the data so I don't know what type of SSP was included.&nbsp;</div>
<span id="OLK_SRC_BODY_SECTION">
<div>
<div>
<div dir="ltr"><br>
&nbsp;<br>
&gt;<br>
&gt; The data I feed in is the Elekta data with maxfiltered tsss and movement correction applied.
<br>
&gt;<br>
<br>
Normally you have SSPS included in the raws if you don't use maxfilter. But think there's no point in using those if you have maxfiltered your data.<br>
If you aim to identify biological artifacts using ICA there is no point in having ECG/EOG projections.<br>
When using maxfilter and ICA, you should not necessarily use SSP in addition.<br>
FYI I'd recommend to look up the number of dimensions estimated by maxfilter from the log or recover it by estimating the rank of the data and using this as input to ICA(n_components).</div>
</div>
</div>
</span>
<div><br>
</div>
<div>*** I wasn't planning to use SSP. In my case the SSPS was off when I read in maxfiltered raw data.&nbsp;For some reason when I epoch the raw data, by default the SSP was set on. So I think the Epoch.py function just set SSP on. Should I always assume the SSP
 is on when I epoch any type of raw Elekta data no matter the maxfilter was applied or not?&nbsp;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div>
<div>*** the n_components I used for ICA is 95% assuming 5% of our data is noise. I realized I don't have the number of dimensions extimated from the maxfilter log. Is this something I should specifically set when I run maxfilter? Also could you please tell
 e how to get the estimated ran of the data? &nbsp; &nbsp;&nbsp;</div>
<div>&nbsp; &nbsp;&nbsp;</div>
<div>&nbsp;</div>
<span id="OLK_SRC_BODY_SECTION">
<div>
<div>
<div dir="ltr"><br>
<br>
HTH,<br>
Denis<br>
<br>
PS: what about the performance metric, still interested in contributing it? ;-)</div>
</div>
</div>
</span>
<div><br>
</div>
<div>*** I'm still using the exact same code from Juergen and I thought that was already shared and uploaded to gitHub?&nbsp;</div>
<span id="OLK_SRC_BODY_SECTION">
<div>
<div>
<div dir="ltr"><br>
<br>
&gt; Thanks!<br>
&gt; Yuhan </div>
</div>
</div>
</span>
</body>
</html>