Hi Mike,
I was thinking your suggestions and I wanted to upload some plots to get some more advice cause I'm quite stuck with it, but I had to go through the preprocessing again because I had some serious mistakes and very small epochs.
I actually have two conditions: the main one (M), and a control (C). I tried to implement some of your suggestions.
You could try not doing any baseline normalization (in this case you should normalize the wavelet in the frequency domain before point-wise multiplying with the data). If you are not looking for power suppressions, this might be OK.
Trying to see how the above idea works I added the following line of code immediately after the fft of the wavelet
cmwX = cmwX./max(cmwX);
I kept the dB conversion of the tf without dividing with the baseline.
The result is a plain dark red surface without any variation at all. Do you think there's a bug the way I used the code or I forgot to change/add something important (I use the code from the lecturelets)?
If you have multiple conditions, you could use a condition-average baseline. That way, any differences will still be apparent in the baseline period.
I 'm not sure what is the proper way to do that. Here's is the steps I assume, pls let me know if I got it wrong.
1) Get the TF of all the concatenated trials (both conditions)
2) Get the mean power over trials for each freq.
3) Select an interval [-0.5 0] and avg across time for each freq as baseline vector
4) Divide the TF of each condition with the baseline vector separately during dB conversion.
Approach A: Results for Fz (33 subjects for M condition and 38 for C)


You could use the entire epoch as the baseline. I usually don't like this approach because sustained changes in power will dominate the baseline estimate.
Approach B: I tried this approach as well in two ways: First I did as in approach A but instead of taking a [-0.5 0] baseline I got the whole interval [-2.5 0]


I think taking the baseline from a separate and long rest period is generally not a good idea. There are many differences in cognitive set between task and rest.
Approach C: I understand you are not very into this approach, so I did not use the initial eyes open eyes closed distant trials, but the small 2 secs trials of fixation cross I have in the beginning of each trial (less than 10-50s far before each epoch). I TF, mean and got the baseline vector from these fixation cross trials from both conditions averaged and then divided the mean TF of each condition separately.


The problem is that the response [time=0] comes in self paced mode within each trial and I was worried that if I get my baseline from an interval before -500 ms it might contain task power. Now the response in both conditions is given by pressing a key and I read that the intention for that action is sometimes observed in [-500 0]. So again I am not so sure about how taking a baseline from this interval can affect the TF since it probably contains this intention.
I really appreciate your help.
Best,
Mina