[Mne_analysis] mne.io.Raw filter function. Type error: ...must have a dtype of np.float64,
Alexandre Gramfort
alexandre.gramfort at m4x.org
Mon Apr 2 03:20:37 EDT 2018
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180402/c20755e6/attachment.html
More information about the Mne_analysis
mailing list