I would like to make a morlet wavelet on single epochs but as I
understand the tfr_morlet, it returns the average power for all the
epochs. If this is correct is there a way to make tfr_morlet return the
single epochs or is there another function that can?
thanks for the reply. I afraid cannot make it work, I get the following
error:
Traceback (most recent call last):
File "<ipython-input-9-1e05100b604d>", line 30, in <module>
return_itc=True, decim=3, n_jobs=1)
File
"/home/mje/Toolboxes/anaconda/lib/python2.7/site-packages/mne-0.9.git-py2.7.egg/mne/time_frequency/tfr.py",
line 892, in tfr_morlet
data = data[:, picks, :]
IndexError: too many indice
I just used to the code from the example
"time_frequency/plot_time_frequency_sensors.py" and changed the:
power, itc = tfr_morlet(epochs, freqs=freqs, n_cycles=n_cycles,
use_fft=False,
to:
power, itc = tfr_morlet(epochs[0], freqs=freqs, n_cycles=n_cycles,
use_fft=False,
return_itc=True, decim=3, n_jobs=1)
return_itc=True, decim=3, n_jobs=1)