Error on 2D Welch map

Hi there!
I was just viewing a 2D map from Welch PSD , then I pressed mouse right button to display contextual menu options (I only wanted to change the map color) and I got this error message:


** Error: Line 1777: Reference to non-existent field 'TensorDisplay'.
**
** Call stack:
** >figure_3d.m>DisplayFigurePopup at 1777
** >figure_3d.m>FigureMouseUpCallback at 580
** >bst_call.m at 28
** >figure_3d.m>@(h,ev)bst_call(@FigureMouseUpCallback,h,ev) at 76
**


It has never happened before, I don't use any Tensors, I just used the pipeline I always use:

Default anatomy
Generate Fem Mesh
Import Fibers (and use the BS file that is in the Tutorial) (and this is just in case I would use it for connectivity analysis)
Review raw file
Set the electrode position (ICBM default 10-20)
Import in databse (split in 1.5 seg epochs)
Frequency --> Welch
2D disc

It was weird as is the first time I've gotten that error

Thanks in advance!

Sorry about that, I introduced this bug a few days ago...
Bug fixed: https://github.com/brainstorm-tools/brainstorm3/commit/ac0602d6111617a68f76163bacfc75aa3ea9040d
Just update Brainstorm and it should work again.

Thanks for reporting all your problems, it really helps debugging fast! :slight_smile:

I'm also facing a problem with the Welch Power Spectrum that is giving me a similar kind of error when I try to compute the Spectrum of a scout. When I pick the entire cortex it works, but limiting the computation to a scout gives me the following error:

Is there a solution for this? :slight_smile:

Here it is: Bugfix: Compute PSD on source scouts of epoched files · brainstorm-tools/brainstorm3@6b0128f · GitHub

Please update Brainstorm and try again.

1 Like