Freesurfer vertex to MNI coordinates


#1

While using freeview from freesurfer to view a surface, I can see it reporting vertex location and RAS coordinates. I am trying to do source localization in MNE, the result of which is lets say are the vertex locations, but I need to convert the results to MNI coordinates. Can someone suggest, how can I convert a vertex location to MNI location in freesurfer or any other tool?


#2

Hey guys, found the solution:
https://martinos.org/mne/dev/generated/mne.vertex_to_mni.html#mne.vertex_to_mni

Hope I am doing it right, if someone knows it better, please suggest.