Nilearn exclude medial wall vertices

Hi,

In Nilearn 0.11.1, is there a way to exclude the vertices in the medial wall from a PolyMesh?

Not that I know. The nilearn-ish way to handle some regions you don’t want to use is to mask it out by using binary mask data defined on the mesh, e.g. all vertices with |x| < 10mm, x being the left/right coordinate.
Best,
Bertrand

Depends what you mean by exclude, but something like this is done in this example.

If you are in fsaverage space you can use the destrieux atlas to remove certain vertices.