External Email - Use Caution
Sorry it is not fixed!! It says the same error
model = mne.make_bem_model(subject='bert', ico=5,
... conductivity=conductivity,
... subjects_dir='/usr/local/freesurfer/subjects/')
Creating the BEM geometry...
Going from 5th to 5th subdivision of an icosahedron (n_tri: 20480 -> 20480)
Going from 5th to 5th subdivision of an icosahedron (n_tri: 20480 -> 20480)
Going from 5th to 5th subdivision of an icosahedron (n_tri: 20480 -> 20480)
outer skin CM is 0.61 -19.22 0.35 mm
outer skull CM is 0.63 -19.11 -0.15 mm
inner skull CM is 0.02 -21.14 9.57 mm
Checking that outer skull surface is inside outer skin surface...
Checking that inner skull surface is inside outer skull surface...
Traceback (most recent call last):
File "<stdin>", line 3, in <module>
File "<decorator-gen-72>", line 21, in make_bem_model
File "/home/andraderenew/.local/lib/python3.7/site-packages/mne/bem.py", line 590, in make_bem_model
surfaces = _surfaces_to_bem(surfaces, ids, conductivity, ico)
File "/home/andraderenew/.local/lib/python3.7/site-packages/mne/bem.py", line 523, in _surfaces_to_bem
_check_surfaces(surfs, incomplete=incomplete)
File "/home/andraderenew/.local/lib/python3.7/site-packages/mne/bem.py", line 462, in _check_surfaces
_assert_inside(surf_2, surf_1)
File "/home/andraderenew/.local/lib/python3.7/site-packages/mne/bem.py", line 451, in _assert_inside
% (_surf_name[fro['id']], _surf_name[to['id']]))
RuntimeError: Surface inner skull is not completely inside surface outer skull
conductivity = (0.3, 0.006, 0.3)
model = mne.make_bem_model(subject='bert', ico=4,
... conductivity=conductivity,
... subjects_dir='/usr/local/freesurfer/subjects/')
Creating the BEM geometry...
Going from 5th to 4th subdivision of an icosahedron (n_tri: 20480 -> 5120)
Going from 5th to 4th subdivision of an icosahedron (n_tri: 20480 -> 5120)
Going from 5th to 4th subdivision of an icosahedron (n_tri: 20480 -> 5120)
outer skin CM is 0.61 -19.22 0.36 mm
outer skull CM is 0.63 -19.11 -0.14 mm
inner skull CM is 0.02 -21.14 9.57 mm
Checking that outer skull surface is inside outer skin surface...
Checking that inner skull surface is inside outer skull surface...
Traceback (most recent call last):
File "<stdin>", line 3, in <module>
File "<decorator-gen-72>", line 21, in make_bem_model
File "/home/andraderenew/.local/lib/python3.7/site-packages/mne/bem.py", line 590, in make_bem_model
surfaces = _surfaces_to_bem(surfaces, ids, conductivity, ico)
File "/home/andraderenew/.local/lib/python3.7/site-packages/mne/bem.py", line 523, in _surfaces_to_bem
_check_surfaces(surfs, incomplete=incomplete)
File "/home/andraderenew/.local/lib/python3.7/site-packages/mne/bem.py", line 462, in _check_surfaces
_assert_inside(surf_2, surf_1)
File "/home/andraderenew/.local/lib/python3.7/site-packages/mne/bem.py", line 451, in _assert_inside
% (_surf_name[fro['id']], _surf_name[to['id']]))
RuntimeError: Surface inner skull is not completely inside surface outer skull
With "ico = 5? it is fixed what is the idea behind this behavior?