<div dir="ltr">Hi,<div><br></div><div>I want to remove my selected components (.apply) from ICA analysis from the epochs (created by Epochsarray) but I get this error: &#39;EpochsArray&#39; object has no attribute &#39;apply&#39;. How can I solve this issue?</div><div><br></div><div>Many thanks </div><div>Emanuela</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 25, 2016 at 7:07 PM, Mikołaj Magnuski <span dir="ltr">&lt;<a href="mailto:mmagnuski@swps.edu.pl" target="_blank">mmagnuski@swps.edu.pl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><p style="margin:0px 0px 1.2em!important">You seem to be referring to an old API of <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">ICA</code>, take a look at how it works now:<br><a href="http://martinos.org/mne/dev/auto_tutorials/plot_artifacts_correction_ica.html" target="_blank">http://martinos.org/mne/dev/auto_tutorials/plot_artifacts_correction_ica.html</a></p>
<p style="margin:0px 0px 1.2em!important">In short, after instantiating the ICA you use the <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">.fit()</code> method to fit it to the data.<br>Then you can for example use <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">.get_sources()</code> or mark components as bad and then <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">.apply()</code> to the data.</p>
<div title="MDH:WW91IHNlZW0gdG8gYmUgcmVmZXJyaW5nIHRvIGFuIG9sZCBBUEkgb2YgYElDQWAsIHRha2UgYSBs
b29rIGF0IGhvdyBpdCB3b3JrcyBub3c6PGRpdj5odHRwOi8vbWFydGlub3Mub3JnL21uZS9kZXYv
YXV0b190dXRvcmlhbHMvcGxvdF9hcnRpZmFjdHNfY29ycmVjdGlvbl9pY2EuaHRtbDxicj48L2Rp
dj48ZGl2Pjxicj48L2Rpdj48ZGl2PkluIHNob3J0LCBhZnRlciBpbnN0YW50aWF0aW5nIHRoZSBJ
Q0EgeW91IHVzZSB0aGUgYC5maXQoKWAgbWV0aG9kIHRvIGZpdCBpdCB0byB0aGUgZGF0YS48L2Rp
dj48ZGl2PlRoZW4geW91IGNhbiBmb3IgZXhhbXBsZSB1c2UgYC5nZXRfc291cmNlcygpYCBvciBt
YXJrIGNvbXBvbmVudHMgYXMgYmFkIGFuZCB0aGVuIGAuYXBwbHkoKWAgdG8gdGhlIGRhdGEuPC9k
aXY+" style="min-height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016-07-25 18:40 GMT+02:00 Emanuela Liaci <span dir="ltr">&lt;<a href="mailto:emanuela.liaci@gmail.com" target="_blank">emanuela.liaci@gmail.com</a>&gt;</span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I am trying to to apply ICA on my data, but when I want to decompose sources for epochs, I get this error:</div><div><br><div><div>~/Desktop/ICA/prova.py:56: AttributeError: &#39;ICA&#39; object has no attribute &#39;decompose_epochs&#39;</div><div><br></div></div></div><div>I have installed <span style="font-family:minion;font-size:10pt;font-style:italic">Scikit-Learn</span><span style="font-family:minion;font-size:10pt">, </span>but I still get this error. How can I solve it?</div><div><br></div><div>Thanks</div><span><font color="#888888"><div>Emanuela</div>
                
        
        
                <div title="Page 6">
                        <div>
                                <div>
                                        <p><span style="font-size:10pt;font-family:minion;font-style:italic"> <br></span></p>
                                </div>
                        </div>
                </div></font></span></div>
<br></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><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div><br></div>

<br>
<hr><br>_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">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><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div><br></div>