get 3D coordinates of surface space from Source time course

  • MNE version: 0.24.3
  • operating system: macOS 12 /windows

i’d like to get the 3D mri coordinates of one point (let’s say index 133 in the STC) from the STC.
i would do:

src[0][‘rr’][133]

and i get 3 points as an output ([-0.05015784, -0.03252885, 0.04854459])
the problem is that when I look at the src[0][‘rr’] structure from which I index my coordinates I see that the vertices are 163842 even though it reports that only 2562 are used (correctly since I have 2562 solution points for each hemisphere). I was wondering whether the surface corresponds to the first 2562 points of the whole SRC and I can trust those coordinates or if there’s something strange.

Thank you in advance

hi

yes stc.vertices corresponds to the high resolution surface (size approx 163842 per hemisphere)

so src[0][‘rr’][133] is correct

Alex

1 Like

thank you for the quick response!