Vertex mapping between subjects

External Email - Use Caution

Hi All,

I have a vertex of interest in fsaverage space, and I'd like to find the
closest vertex in individual subject space. Similar to morphing, but
different because I want to identify a nearest vertex rather than morphing
a source estimate. I'm imagining this will involve finding the 3d
coordinates of the fsaverage vertex in the spherical registration, then
finding the closest vertex to that point in the individual subject
spherical registration.

Is this something that is already implemented in mne-python, or should I
write it up from scratch? Any pointers (e.g. I've never worked with the
?h.sphere.reg files)?

Thanks,
Emily
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190130/818f3262/attachment.html

External Email - Use Caution

hi,

I don't think we have an off the shelf function for this but I would look at:

https://martinos.org/mne/stable/generated/mne.SourceEstimate.html#mne.SourceEstimate.to_original_src
https://martinos.org/mne/stable/generated/mne.morph_source_spaces.html#mne.morph_source_spaces

Alex