<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;"> External Email - Use Caution </span></p><p></p><div dir="ltr">hi,<div><br></div><div>can you check that the number of components you fit is equal to the number of channels?</div><div>If it's less you have a dimensionality reduction step.</div><div><br></div><div>Alex</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 2, 2019 at 11:28 PM Mainak Jas <<a href="mailto:mainakjas@gmail.com">mainakjas@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)"> External Email - Use Caution </span></p><p></p><div dir="ltr"><div>Hi Alex,</div><div><br></div><div>Could you provide us a full script on the MNE sample data that we can run?</div><div><br></div><div>Mainak<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 2, 2019 at 5:14 PM Rockhill, Alexander P. <<a href="mailto:AROCKHILL@mgh.harvard.edu" target="_blank">AROCKHILL@mgh.harvard.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Also, of note the ica scale is off by quite a lot in the plot_sources plot, it is way too zoomed in.</div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Alex<br>
</div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div id="gmail-m_5391076763544010379gmail-m_1647867387637243957Signature">
<div style="font-family:Tahoma;font-size:13px">
<div class="gmail-m_5391076763544010379gmail-m_1647867387637243957BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="gmail-m_5391076763544010379gmail-m_1647867387637243957PlainText">Translational NeuroEngineering Laboratory<br>
Division of Neurotherapeutics, Department of Psychiatry<br>
Massachusetts General Hospital, Martinos Center<br>
149 13th St Charlestown #2301, Boston, MA 02129</div>
</span></font></div>
</div>
</div>
<div id="gmail-m_5391076763544010379gmail-m_1647867387637243957appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_5391076763544010379gmail-m_1647867387637243957divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> <a href="mailto:mne_analysis-bounces@nmr.mgh.harvard.edu" target="_blank">mne_analysis-bounces@nmr.mgh.harvard.edu</a> <<a href="mailto:mne_analysis-bounces@nmr.mgh.harvard.edu" target="_blank">mne_analysis-bounces@nmr.mgh.harvard.edu</a>> on behalf of Rockhill, Alexander P. <<a href="mailto:AROCKHILL@mgh.harvard.edu" target="_blank">AROCKHILL@mgh.harvard.edu</a>><br>
<b>Sent:</b> Tuesday, July 2, 2019 3:25 PM<br>
<b>To:</b> <a href="mailto:mne_analysis@nmr.mgh.harvard.edu" target="_blank">mne_analysis@nmr.mgh.harvard.edu</a><br>
<b>Subject:</b> [Mne_analysis] Applying ICA with No Components Selected out but Signal Changes Using Default Parameters</font>
<div> </div>
</div>
<div dir="ltr">
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Hi,</div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
In an analysis, I am running:<br>
</div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
<div>ica = ICA(method='fastica', n_components=n_components, # n_components=None<br>
</div>
<div> random_state=seed)<br>
</div>
<span>ica.fit(inst2)</span></div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
...</div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
inst2 = ica.apply(inst2, exclude=ica.exclude)<br>
</div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
and when I skip all intermediate steps and just fit the ICA and apply it with an empty list for ica.exclude the signal still changes, quite a bit. I thought if no components were selected out and all the max PCA components were used the signal would be
unchanged or basically unchanged. Is this a bug or something with my implementation?</div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Thanks,</div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
Alex<br>
</div>
<div style="font-family:Tahoma,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div id="gmail-m_5391076763544010379gmail-m_1647867387637243957x_Signature">
<div style="font-family:Tahoma;font-size:13px">
<div class="gmail-m_5391076763544010379gmail-m_1647867387637243957x_BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="gmail-m_5391076763544010379gmail-m_1647867387637243957x_PlainText">Translational NeuroEngineering Laboratory<br>
Division of Neurotherapeutics, Department of Psychiatry<br>
Massachusetts General Hospital, Martinos Center<br>
149 13th St Charlestown #2301, Boston, MA 02129</div>
</span></font></div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a></blockquote></div>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a></blockquote></div>