Multi-taper Time Frequency decomposition

Hi Team,
I would like to perform time-frequency decomposition using Multi-taper analysis. I have few doubts wrt the parameters used.

  1. As seen, t_ftimwin has frequency dependent window lengths. However, in the description
    , timwin seems to be static.
  2. Also, can you help me understand what is the relation of time resolution parameter of brainstorm with the number of cycles as discussed in the fieldtrip documentation :

    ?
  3. Is the parameter time_step in brainstorm equivalent to cfg.toi ?

Hi Rasmita, although I cannot answer your questions directly I can direct you to some previous forums that were discussing something similar which are as follows; not sure how useful these would be for you though.

1 Like

Hi @mcp0228,
Thank you for pointing to the previous discussions. I couldn't find answer to my earlier posed questions in any of them.
Any help on the above posed questions is highly appreciated!
Thanks,
Rasmita

Hello Experts,
I am experiencing errors while running multi-taper time-frequency decomposition method in brainstorm which is installed on a linux server.


Upon running the above config, i get the following error:

However, when I run the same config (used shorter time window as RAM is limited) on my windows based PC - the time frequency plot is calculated


but, I am getting errors when I click on it to view:
image
and below log after clicking OK

I am not sure what is causing this differential behaviour on windows PC and linux server when both of them are running the same brainstorm version.
Can you please help me out ?

As mentioned in the first error message, make sure you close all visualization windows before you attempt to visualize the Multitaper's contents. I also note the time window is different between the Windows and Linux screen captures share above.

Yes @Sylvain, I closed all the windows and attempted the Multi-taper process run.
My windows pc has 32 gb and was throwing me error of out of memory. Thus, I ran only the few first minutes.
However, I got the same error as shown above on linux server irrespective of the time-window.

I suspect, it could be bug in the code as I had tried multi-taper few weeks ago, it had worked but now, I couldn't recollect which version of brainstorm was it.

Hello @Sylvain @Raymundo.Cassani ,
I had passed the entire 20-280s recording for multi-taper. However, the output plot has time segments ranging from 25 to 274.5 seconds only.


Are the edge artefacts already removed before saving the file ?
Also, in the code - it seems edgeeffectmask is not being created for mtmconvol. Can you help me understand this better?

Thanks

The screenshot above (top right after Time: ...)) shows that your data run from 25 to 274.5s, hence the duration of the output. For the edge effect component, @Raymundo.Cassani will be able to look into this.

Hi Sylvain,
I ran the process from 20 to 280.

It seems right, the times indicate the center of the analyzed windows:

With the Time resolution = 10s and Time step = 0.5s. The first window goes from 20s to 30s, center 25s, and the last window goes from 269.5s to 279.5s, center 274.5s

Got it!
Thank you!
@Raymundo.Cassani, what's with the edge artefact in mtmconvol ?

I meant to say that the first time point available in the data is at 25s (not 20) and the last one is at 274.5 (not 280). Simply check the All File check box instead of entering specific time points.

1 Like