[Mne_analysis] Erros: ica.decompose_epochs

Emanuela Liaci emanuela.liaci at gmail.com
Tue Jul 26 15:34:57 EDT 2016
Search archives:

Hi,

I want to remove my selected components (.apply) from ICA analysis from the
epochs (created by Epochsarray) but I get this error: 'EpochsArray' object
has no attribute 'apply'. How can I solve this issue?

Many thanks
Emanuela


On Mon, Jul 25, 2016 at 7:07 PM, Mikołaj Magnuski <mmagnuski at swps.edu.pl>
wrote:

> You seem to be referring to an old API of ICA, take a look at how it
> works now:
>
> http://martinos.org/mne/dev/auto_tutorials/plot_artifacts_correction_ica.html
>
> In short, after instantiating the ICA you use the .fit() method to fit it
> to the data.
> Then you can for example use .get_sources() or mark components as bad and
> then .apply() to the data.
>>
> 2016-07-25 18:40 GMT+02:00 Emanuela Liaci <emanuela.liaci at gmail.com>:
>
>> Hi,
>>
>> I am trying to to apply ICA on my data, but when I want to decompose
>> sources for epochs, I get this error:
>>
>> ~/Desktop/ICA/prova.py:56: AttributeError: 'ICA' object has no attribute
>> 'decompose_epochs'
>>
>> I have installed Scikit-Learn, but I still get this error. How can I
>> solve it?
>>
>> Thanks
>> Emanuela
>>
>>
>>
>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>
>>
>> The information in this e-mail is intended only for the person to whom it
>> is
>> addressed. If you believe this e-mail was sent to you in error and the
>> e-mail
>> contains patient information, please contact the Partners Compliance
>> HelpLine at
>> http://www.partners.org/complianceline . If the e-mail was sent to you
>> in error
>> but does not contain patient information, please contact the sender and
>> properly
>> dispose of the e-mail.
>>
>>
>
> ------------------------------
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20160726/97ef8544/attachment.html 


More information about the Mne_analysis mailing list