mne_feature problem with compute_pow_freq_bands function

I am using the mne_feature for feature extraction: mne_features.univariate.compute_pow_freq_bands

X.shape : (23528, 18, 30000)

import mne_features
mne_features.univariate.compute_pow_freq_bands(100,X[0])

this is for the first epoch X[0] , it will work.

However, if i ran the following:

mne_features.univariate.compute_pow_freq_bands(100,X)

it will not work.dimention not match in the error
my question is, is there a function to extraction the power_freq_bands for all epochs in one time?

use https://mne.tools/mne-features/generated/mne_features.feature_extraction.extract_features.html#mne_features.feature_extraction.extract_features
passing good function to selected_funcs

see example https://mne.tools/mne-features/auto_examples/plot_mne_sample_features.html#sphx-glr-auto-examples-plot-mne-sample-features-py

Alex

2 Likes

Thank you so much!