[Mne_analysis] Problem with BEm construction
Alexandre Gramfort
alexandre.gramfort at inria.fr
Tue May 26 03:05:33 EDT 2020
External Email - Use Caution
hi Edoardo,
I suspect your triangles are oriented inwards or outwards with the opposite
convention as MNE. You can fix this if you have the triangles
triangles = triangles[:, ::-1]
or the fliplr function in matlab.
HTH
Alex
On Mon, May 25, 2020 at 12:38 PM Edoardo Pinzuti <edoardo.pinzuti at gmail.com>
wrote:
> External Email - Use Caution
>
> Dear MNE team,
>
> I many of my subjects the watershed algorithm gives poor results. So I
> decided to create BEM based on the inner skull boundary from fiedltrip. I
> saved the output from fieldtrip as surface format but when I pass
> inner_skull.surf to the function make_bem function I get :
> Creating the BEM geometry...
> inner skull CM is 1.05 -0.61 59.80 mm
> RuntimeError: Surface inner skull is not complete (sum of solid angles
> yielded -1, should be 1.)
> When I visualize the surface does not seems to have any problem
>
> Do you know what could cause the error?
>
> Thanks
>
>
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200526/1db05a0c/attachment-0001.html
More information about the Mne_analysis
mailing list