<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Max,</p>
<p>you can load the final mesh and extract the WM surface from it,
e.g. in python:</p>
<p>from simnibs import mesh_io<br>
m = mesh_io.read_msh('ernie.msh')<br>
m = m.crop_mesh(tags=1001)<br>
mesh_io.write_msh(m,'ernie_wm.msh')<br>
</p>
<p>Best,</p>
<p>Axel</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 07-10-2022 12:52, Maximilian Lückel
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1581748401.9629174.1665139955012@mail.yahoo.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="ydp5e7a9835yahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:13px;">
<div id="ydp5e7a9835yiv2293502758">Hi,
<div><br>
</div>
<div>is there a straightforward way to also get the white
matter surface when running CHARM? </div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks, </div>
<div><br>
</div>
<div>Max<br>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Simnibs-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Simnibs-discuss@drcmr.dk">Simnibs-discuss@drcmr.dk</a>
<a class="moz-txt-link-freetext" href="https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss">https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Dr. Axel Thielscher
Professor of Neurophysics and Neuroimaging
Danish Research Center for Magnetic Resonance
Copenhagen University Hospital Hvidovre
DK-2650 Hvidovre, Denmark
<a class="moz-txt-link-abbreviated" href="http://www.drcmr.dk">www.drcmr.dk</a>
&
Department of Health Technology
Technical University of Denmark
DK-2800 Kgs. Lyngby
<a class="moz-txt-link-freetext" href="http://www.healthtech.dtu.dk/">http://www.healthtech.dtu.dk/</a></pre>
</body>
</html>