<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div dir="ltr">It works thanks !</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mar 26 mag 2020 alle ore 09:06 Alexandre Gramfort &lt;<a href="mailto:alexandre.gramfort@inria.fr">alexandre.gramfort@inria.fr</a>&gt; ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)">        External Email - Use Caution        </span></p><p></p><div dir="ltr">hi Edoardo,<div><br></div><div>I suspect your triangles are oriented inwards or outwards with the opposite</div><div>convention as MNE. You can fix this if you have the triangles </div><div><br></div><div>triangles = triangles[:, ::-1]<br></div><div><br></div><div>or the fliplr function in matlab.</div><div><br></div><div>HTH</div><div>Alex</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 25, 2020 at 12:38 PM Edoardo Pinzuti &lt;<a href="mailto:edoardo.pinzuti@gmail.com" target="_blank">edoardo.pinzuti@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)">        External Email - Use Caution        </span></p><p></p><div dir="ltr">Dear MNE team, <div><br></div><div>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 :</div><div>Creating the BEM geometry...<br>inner skull CM is   1.05  -0.61  59.80 mm<br></div><div>RuntimeError: Surface inner skull is not complete (sum of solid angles yielded -1, should be 1.)<br></div><div>When I visualize the surface  does not seems to have any problem<br></div><div><br></div><div>Do you know what could cause the error?</div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div><br></div></div>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a></blockquote></div>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a></blockquote></div>