Spatial information in STC

Hi
I was wondering if there is any spatial information in .stc file. I have an .stc file with size of 7498 X 421. Out of which i assume 7498 is the number of sources and 421 is the time length of each source. Is there a way to know the spatial information about any source (out of these 7498)? If it is not, then is such information present in .src file ? Because over there too, the number of vertexes do not match. I need to know the spatial position of each source present in stc file and i cannot find a way to figure that out.
Thanks
Rauf

Hi Rauf,

Not sure if this answers your question, but this is what I do… The stc object contains a list of the vertices used for each source (lh_vertno and rh_vertno). You can feed those vertices to the function mne.vertex_to_mni, and this will return to you the coordinates (MNI coordinates, in mm) of each source.

Hopefully that helps!

1 Like

Thanks Ktyner. Your suggestion was very helpful