Hi, I may have a similar question. I did freesurferās recon-all. And I want to plot the SEEG contacts(in MNI space) in lh.pial and lr.pial of this subject.
I donāt know if I understand right. Iām following the tutorial here How MNE uses FreeSurferās outputs ā MNE 0.24.0 documentation
This is what I did.
import mne
import nibabel as nib
mri_mni_trans = mne.read_talxfm(subject, subjects_dir)
ver, face = nib.freesurfer.read_geometry(lh_pial_path)
ver_mni = apply_trans(mri_mni_trans, ver)
with ver, so I could plot this pial in MNI together with SEEG contacts.
However, the result seems not right. Where did I do wrong?
My contacts are in MNI space, just like the form in the tutorial (x, y, z) in mm. when I use āfsaverageā, the figure was right. So I was thinking whether I transform the pial in a wrong way.
If you put your contact locations in a montage and assigned it to a raw object with fiducials, that would transform the contacts into āheadā space because thatās how MNE stores coordinates internally. So itās a bit more complicated and without the full code to reproduce your figure, I really canāt guess what is going wrong.