Dear Brainstorm-users,
I am trying to run source analysis on my EEG data but for some reason I cannot import the electrodes at the right position. We have individual MRI data available and electrode locations were saved in a BrainSight neuronav system (coordinate system; Nifti Scanner). I ran a free surfer analysis (recon-all) and read this into Brainstorm. This all seems to work nicely. I have converted the eeg locations using the cs_convert function (cs_convert(sMRI, 'mri', 'SCS', eegcoord_brainsight)) and stored the eeg locations (supposedly in SCS space in a structure named elecinf). Subsequently, I generated a channel_*.mat file that can be imported in Brainstorm.
for i = 1 : numelec
Channel(i).Type = 'EEG';
Channel(i).Name = elecinf.Labels{i};
Channel(i).Loc = elecinf.SCS(i,:)';
Channel(i).Weight = 1;
Channel(i).Orient = [0;0;0];
end
Even though this works, there seems to be still a translation missing in my electrode locations. Attached you can see the an example (Dropbox) . Does anyone know what I missed and how I can improve this?
Much appreciated.
Best, Debby