- MNE version: 1.6.1
- operating system: Windows 10
Hi, I am currently curious about the vertex coordinates of the source space. I used src[0]['rr']
to get the FreesurferRAS coordinates of vertices.
Here is the code I used:
import mne
import numpy as np
src_fname = “./src/surface_oct6-src.fif”
src = mne.read_source_spaces(src_fname)
ras = np.concatenate(
[
src[0][‘rr’][src[0][‘vertno’]],
src[1][‘rr’][src[1][‘vertno’]]
],
axis=0
)
I tested this code on two subjects and reconstructed the surfaces. And I found that one subject’s reconstructed surface did not coincide well with the Freesurfer results, while another subject could. Like:
However simple translation could help with this situation. I suppose this has to do with the origin of the coordinates. I noticed that "The origin of this coordinate system is at the center of the conformed FreeSurfer MRI volumes (usually 256 x 256 x 256 isotropic 1-mm3 voxels) and the axes are oriented along the axes of this volume."
.
Would this be caused by the T1w MRI if it is not "256 x 256 x 256 isotropic 1-mm3 voxels"
?