Question about electrode implantation

The function channel_project_scalp() is the one that is used, with the arguments:

  • Vertices: Vertices from the Subject's default Cortex surface
  • ChanLoc: Location of the electrodes

The menu Project on cortex calls the function ProjectContacts() in panel_ieeg.m using 'cortexmask' as surface. See the code here