I want to create single trials time-frequency epochs to later perform time-frequency decoding.
I am wondering what is the correct way for creating my epochs. I have EEG data with 4 types of events.
I have been using this code :
and then create vectors coding for each trials in each condition - or is there a way to transfer the events information from the original epoch data to the time-frequency data?
Jaakko's solution is a possibility (e.g. this is what I used here http://dx.doi.org/10.1016/j.neuron.2016.10.051), but this isn't optimal
because the signal would be rectified at the sensor level.
You'd ideally need to work with covariance matrices based on signals
filtered at particular frequencies. I'm hoping to have the time to add a
tutorial and a set a functions in the next couple of weeks.