I’m running into an issue when importing patient electrode coordinates into MIA. First, I used the Brainstorm toolbox to export a .tsv file containing each patient’s electrode locations on the brain atlas. Then, following the MIA tutorial, I reformatted the .tsv into four columns (as shown in the attached image) and saved it as an .xlsx file. However, the console prints:
There is no correspondance between electrode labels from table and from data.
Nothing to do.
>>
There is also no change in the MIA interface.Could you please advise on the correct way to import the electrode locations?
Thanks @Raymundo.Cassani for the ping! Sorry this week is very busy for me organizing PracticalMEEG in Aix-en-Provence, I will get back to you as soon as I can, very likely next week. Thank you for your patience.
I hope you're doing well. I wanted to leave you a quick message here in the meantime. Over the past few days, I’ve been reviewing the MIA toolbox scripts (though I’m not very experienced with coding), and I encountered an issue: all electrode positions on the left side seem unable to display.
I found that the script adds a 'p' suffix to all left-side electrodes. Could you please guide me on how to comment out or remove the 'p' suffix so that the electrodes can display properly?
Thanks so much for your time, and I’ll be looking forward to your response when you have time next week.
The electrode localization table variable m_table_as passed into mia_filter_localized_channels already has the left-sided electrode labels with the suffix 'p' added, but the other variable passed into mia_filter_localized_channels, bilabels, still contains the left-sided electrode labels without the 'p' suffix. This causes both idx1 and idx2 to be empty. The bilabels variable is passed from mia_get_table_effect_clc as gana.labels. I would like to ask how to modify the code so that this bug can be fixed without affecting the subsequent code.