[Mne_analysis] mne.io.Raw filter function. Type error: ...must have a dtype of np.float64,

Ilias Koen ilias.koen at dukodestudio.com
Mon Apr 2 13:35:11 EDT 2018
Search archives:

Thanks for your response, That does not resolve our typeerror.


On 4/2/18 3:20 AM, Alexandre Gramfort wrote:
> you are doing:
>
> data_EEG.apply_hilbert(n_jobs=1, envelope=False)
>
> which operates in place and so next time you want to filter
> you have complex valued data.
>
> you need to do
>
> raw_hilbert = data_EEG.copy().apply_hilbert(n_jobs=1, envelope=False)
>
> please close if you confirm.
>
>
> _______________________________________________
> 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/20180402/ec9677a9/attachment.html 


More information about the Mne_analysis mailing list