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:
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 ?
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