About new Envelope Correlation 2020

Hi there!
I just updated BS and I saw a new connectivity feature: Envelope Correlation 2020, I tried but I got the next error message:

** Error: [process_henv1n] Connectivity > Envelope Correlation NxN (2020)
** Line 135: Index exceeds matrix dimensions.
**
** Call stack:
** >bst_henv.m at 135
** >bst_connectivity.m at 598
** >process_henv1n.m>Run at 161
** >process_henv1n.m at 23
** >bst_process.m>Run at 229
** >bst_process.m at 36
** >panel_process1.m>RunProcess at 151
** >panel_process1.m at 26
** >gui_brainstorm.m>CreateWindow/ProcessRun_Callback at 772
** >bst_call.m at 28
** >gui_brainstorm.m>@(h,ev)bst_call(@ProcessRun_Callback) at 296

I was trying to compute Envelope 2020 on epoched data (imported in database), 1.5 seg each epoch. I selected these parameters:

I also tried with Morlet Wavelet and I got the same

Maybe I'm doing something wrong

Thanks in advance!

ps: where can I find out some documentation about his measure?
:D!

This new process was not working with the option "All file" selected, indeed.
I fixed this bug in the following commit: https://github.com/brainstorm-tools/brainstorm3/commit/95d618e7a6ccab44d730ff2d1f4737ac7edacf82
Update Brainstorm to get the fix.
Thanks for reporting!

This process will be documented in the new tutorial about connectivity:
https://neuroimage.usc.edu/brainstorm/Tutorials/Connectivity

@hossein27en Could you tell us when we can expect this documentation to be ready?

1 Like

Thanks for fixing the Bug. I will update the Tutorial asap.