Description
Describe the new feature or enhancement
When using mne.viz.plot_alignment
(and in all forward modelling code), EEG sensors are projected onto the scalp, even if they are actually within, or outside of the skull.
See for example the dark red discs (scalp-projected sensors) versus the light red balls (actual sensor positions):
This projection happens in this private function:
Lines 447 to 472 in 618932d
It would be a nice feature to be able to extract these scalp-projected sensor positions for downstream analyses, or for creating "realistic/biological' sensor positions ... or simply to have the data that is then actually being used in forward modelling.
I also believe that we could benefit from documenting more clearly that all forward modelling (including fit_dipoles
etc.) is using the scalp-projected sensor positions.
Describe your proposed implementation
Write a public version of _project_onto_surface
that works well with fsaverage out of the box, or any other scalp surface that is passed into it. The function should return a DigMontage.
Add this functionality to a tutorial/example to showcase it.
And also document better that these positions are used in forward modelling.
Describe possible alternatives
Alternatively, we could start by first only documenting that scalp-projected sensors are being used.
Additional context
No response