How plot source location on T1

hi,everone.
In some papers, the source localization results is mapped to T1, and I would like to ask how to do it in mne? or Or other software packages?

无标题

  • MNE version: 1.3
  • operating system: Windows 10

hi @yuyu what kind of source estimate object do you have? Is it surface-based or volume based?
In MNE, you can save volume source estimate as a nifti object and then visualize it i.e., mapped to T1 using the this API: from nilearn.plotting import plot_stat_map

Here is an example:
https://mne.tools/stable/auto_examples/inverse/compute_mne_inverse_volume.html#sphx-glr-auto-examples-inverse-compute-mne-inverse-volume-py

best,
Dip