Skip to content

Problematic surfaces extracted using watershed #60

@sdeslauriers

Description

@sdeslauriers

For some subjects of the HCP, the 3 layer bem model raises an error in mne when trying to extract surfaces.

For example, running make_bem_model on the output of watershed_bem on subject 109123 of the HCP raises the following error:

RuntimeError: Surface inner skull is not completely inside surface outer skull

Checking the surfaces using mne freeview_bem_surfaces shows that the inner skull intersects the outer skull and skin surfaces. In addition, the inner skull surface has loops. This also happens with other subjects.

Using the --atlas option of mne watershed_bem helps with the loops, but still produces intersecting surfaces.

For now, the fix is to use a 1 layer bem by setting the conductivity option of mne.make_bem_model to a list with 1 value (e.g. [0.3]).

This issue is meant to document this problem, as true fixes are not obvious.

See also: mne-tools/mne-python#5565

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions