The Python MNE API says I should compute continuous wavelets by
mne.time_frequency.cwt_morlet(X, sampling_frequency, frequencies_of_interest)
However, when I make X equal to a raw .fif data file, it throws
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'
What am I doing wrong?