<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p><br>
    </p>
    <p>this function calculates the shortest distance between the coil
      center and the nearest point on the cortex surface:</p>
    <p><br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://github.com/simnibs/simnibs/blob/master/simnibs/simulation/sim_struct.py">https://github.com/simnibs/simnibs/blob/master/simnibs/simulation/sim_struct.py</a>,
      lines 1350-1354.</p>
    <p><br>
    </p>
    <p>Best,</p>
    <p>Axel</p>
    <p><br>
    </p>
    <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
      font-size: 12pt; color: rgb(0, 0, 0);"><br>
    </div>
    <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
      font-size: 12pt; color: rgb(0, 0, 0);"><br>
    </div>
    <div class="moz-cite-prefix">On 2/15/2022 5:20 PM, Mccalley, Daniel
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:BN6PR11MB400492CF3099088C4B371939A5349@BN6PR11MB4004.namprd11.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Hi all, </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Could you please provide an expanded explanation of how the
        coil-to-cortex distance provided in the output log file is
        measured? I'm guessing that this is done using a custom matlab
        function or another existing function? </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        In either case it would be very helpful to have a rough outline
        of the function used and how this distance is measured! Thank
        you in advance! </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Best,</div>
      <div>
        <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
          font-size: 12pt; color: rgb(0, 0, 0);">
          <br>
        </div>
        <div id="Signature">
          <div>
            <div style="font-family:Tahoma; font-size:13px">Dan
              McCalley </div>
            <div style="font-family:Tahoma; font-size:13px"><span
                style="font-family:Tahoma; font-size:13px"></span></div>
            <div style="font-family:Tahoma; font-size:13px"><span
                style="">Medical University of South Carolina</span>
              <div>College of Graduate Studies, Neuroscience</div>
              <div><span style="color:rgb(0,0,0);
                  background-color:rgb(255,255,255);
                  display:inline!important">(he/him)</span><br>
              </div>
              <div><br>
              </div>
            </div>
          </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>