Python MNE API说我应该计算连续小波
mne.time_frequency.cwt_morlet(X, sampling_frequency, frequencies_of_interest)
但是,当我使 X 等于原始 .fif 数据文件时,它会抛出
287 # mode = "valid"
288 decim = _check_decim(decim)
--> 289 n_signals, n_times = X[:, decim].shape
290
291 # Precompute wavelets for given frequency range to save time
AttributeError: 'tuple' object has no attribute 'shape'
我究竟做错了什么?