Removing a lesioned area

I was also wondering how exactly brainstorm behaves when setting up a DUNEuro head model. Specifically:

  • "layer" and "surface" are not the same thing, right? I interpret "layer" as the volume of a certain segmented tissue.

  • "Force source space inside layer "gray"": will the dipoles be forced to be either part of solely the gray matter tissue or within all the volume enclosed in the surface of such layer? The main difference between these two is that the first approach would let me exclude "empty spaces" in the cortex (e.g. lesion masks) from the source space and potentially avoid the known "source space is not convex" error.

Many thanks in advance.