Digitizer doesn't load montage with more than 60 electrodes

Hello I am using Polhemus Fastrak, I have to digitize 76 electrodes. The system accepts no EEG montage with more than 60 electrodes. Here is the error message: "line 1156. Index excceeds matrix dimension"
Thanks for your help

Sorry for the late reply.

Any clue what’s happening @ebock, @MartinC or @Francois?

Thanks!

Hello,
The problem appears to be how you have defined the montage. Please follow the instructions exactly as in the tutorial: http://neuroimage.usc.edu/brainstorm/Tutorials/TutDigitize. Be sure your montage file is a tab-delimited plain text file with one column containing the electrode number and one column defining the labels as in this example: http://neuroimage.usc.edu/brainstorm/Tutorials/TutDigitize#EEG_Montages. If is still doesn’t work, please send the montage file and I can review it.

Beth

1 Like

I have a similar issue while loading the 64 electrode montage.
The text file I am reading from has the same format as suggested in the tutorial.

1 Fp1
2 Fpz
3 Fp2
4 F7
5 F3
6 Fz

ANT Channel list _FASTRAK_64.txt (557 Bytes)

I have attached the text file.

Thanks for your help.

..

The code was not handling the new line at the end of the montage text file...
I fixed this in this commit: https://github.com/brainstorm-tools/brainstorm3/commit/c106aef012ad87e3a2dd05bb3e0465b8a4aba3c2

Please update Brainstorm and try again.
Thanks for reporting this bug