[Mne_analysis] Error in extract_features

Senaka Amarakeerthi senakahks at gmail.com
Fri Apr 19 00:18:50 EDT 2019
Search archives:

        External Email - Use Caution        

 Dear All,

I am trying to extract features from EEG using feature extraction api (
https://mne-tools.github.io/mne-features/api.html)

I am getting following error:

TypeError: set_params() argument after ** must be a mapping, not numpy.ndarray

The code used is below:

selected_funcs = {'std', 'kurtosis','pow_freq_bands'}
pow_freq_bands__freq_bands = array([0.5, 4., 8., 13., 30.])
X_new = extract_features(epochs_data, raw.info['sfreq'], selected_funcs,
pow_freq_bands__freq_bands)

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190419/e9601056/attachment.html 


More information about the Mne_analysis mailing list