Import channel files windows not showing

Hi,

I used the 20-Oct-2021 version of Brainstorm to add EEG positions from a file (Add EEG positions > import from file). Once I selected the file, the following two windows showed up:


I then did the same operation with the latest version of Brainstorm (7-Jan-2025), but neither windows showed up.

Is that normal ?

Thanks,
Corentin

Hi @CorentinLabelle

Since 2021, the import functions in Brainstorme have been updated, new formats have been added, and some warnings are automatically handled.

What file format are you using?
Can you check if the channels are correctly aligned to the anatomy?

Hi @tmedani,

We are using the ASCII_NXYZ format and the values are in SCS in millimeters. The unit conversion seems OK, but the MRI transformation is not applied.

Here is what I noticed: In the import_channel.m function at line 358, the value isApplyVox2ras is set to 0 because of the file format (ASCII_NXYZ). This causes the 2nd condition at line 469 to be false (the other two conditions are true) and the MRI transformation is not applied.

Is there a way to automatically apply the MRI transformation from a ASCII_NXYZ file ?

Thanks,
Corentin

@Raymundo.Cassani can you please check this?

Hi,

Did you have time to look at my question ?

Thanks in advance!
Corentin

Hi @CorentinLabelle, nice to read you. It seems counterintuitive. If your coordinates are already in SCS in millimeters, the fiducials should be already present in the MRI so the SCS actually exists. However the ~isScsDefined is true.

In that case, it would make more sense to either set the fiducials in your MRI before importing the sensors, or importing the sensors as ASCII_NXYZ_WORLD