<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>the way to do this is to first run the simnibs simulation with
the full resolution headmesh and afterwards interpolate the
results onto the nodes of the 16k surface. This is done using the
method "interpolate_to_surface" that is part of
simnibs.msh.mesh_io</p>
<p>There is currently no example code which we can share, but you
can look at line 1480 in <br>
</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/simnibs/simnibs/blob/master/simnibs/msh/transformations.py">https://github.com/simnibs/simnibs/blob/master/simnibs/msh/transformations.py</a></p>
<p>where we use that method to interpolate the e-field results to
the central GM surfaces created by CAT12.</p>
<p><br>
</p>
<p>Best regards,</p>
<p>Axel</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 18-10-2022 07:45, Huertas Penen,
Silvana (UT-EEMCS) wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DBAP195MB100447DFBB167DC45A70DA26FB289@DBAP195MB1004.EURP195.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255);" dir="auto">
Hi,</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255);" dir="auto">
<br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255);" dir="auto">
I need to have a headmesh in Simnibs with 16k vertices in the
surface. This to be able to use the output of simnibs in TVB.
What I did was to import the headmesh I did in Simnibs to
Brainstorm and then downsample to 16k. Now I have the surface
downsampled but I do not know how to input/merge this with the
headmesh I made in SimNibs. Do you know how to do this?</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255);" dir="auto">
<br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255);" dir="auto">
Or if there is a method in simnibs to downsample the surface in
the headmesh? </div>
<div id="ms-outlook-mobile-signature" dir="auto">
<div><br>
</div>
Get <a href="https://aka.ms/AAb9ysg" moz-do-not-send="true">Outlook
for Android</a></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>