A question about time-frequency (Morlet wavelets )

Hi Steven,
I have a question when I followed the previous steps to calculate the power ratio of one band to all bands, in my understanding, all ratios in the TF matrix after spetrum normalization should add up to 1, but it’s not. So, I'm a little confused about how to calculate the ratio of one band to the whole band from the result of spectrum normalization. Should I calculate it directly from the results of the time-frequency? For example, add all the values of theta band in the matrix and divided by the sum of all the values in the TF matrix.