<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>Hello,</p>
    <p><br>
    </p>
    <p>Thanks a lot for the interest in SimNIBS!</p>
    <p>As mentioned in the FAQ, the osculations in TACS do not change
      the electric field spread, but act as a scaling factor as the time
      and spatial component are separable</p>
    <p>E(x, t) = E(x)I(t).</p>
    <p>If you have many electrodes at different phases, it becomes a
      little more complicated, but it is still a linear superposition
      (please see <a class="doi"
        href="https://doi.org/10.1016/j.neuroimage.2017.09.024"
        target="_blank" rel="noreferrer noopener" aria-label="Persistent
        link using digital object identifier" title="Persistent link
        using digital object identifier">https://doi.org/10.1016/j.neuroimage.2017.09.024</a>).
      To calculate it you can just use our matlab or python modules to
      load simulation results (mesh_load_gmsh4 in matlab or
      simnibs.read_msh in python, please see
      <a class="moz-txt-link-freetext" href="https://github.com/simnibs/simnibs/tree/master/simnibs/examples/analysis">https://github.com/simnibs/simnibs/tree/master/simnibs/examples/analysis</a>
      for examples).</p>
    <p><br>
    </p>
    <p>We also have a module to optimize electrode locations
(<a class="moz-txt-link-freetext" href="https://simnibs.github.io/simnibs/build/html/tutorial/optimization.html">https://simnibs.github.io/simnibs/build/html/tutorial/optimization.html</a>)
      and a paper about it (<a class="doi"
        href="https://doi.org/10.1016/j.neuroimage.2019.116183"
        target="_blank" rel="noreferrer noopener" aria-label="Persistent
        link using digital object identifier" title="Persistent link
        using digital object identifier">https://doi.org/10.1016/j.neuroimage.2019.116183</a>).</p>
    <p><br>
    </p>
    <p>Best,</p>
    <p>Guilherme<br>
    </p>
    <br>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 25/06/2020 20.17, du t. (td5u19)
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:LNXP265MB1386B26872A69B3770F4B869D7920@LNXP265MB1386.GBRP265.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hello,<o:p></o:p></p>
        <p class="MsoNormal">   I am a Msc student who is doing my
          graduate project based on simNIBS. I want to do the TACs
          simulation to know if machine learning can use to find the
          right parameters (AC frequency, current, electrode location
          etc.) to produce interference at target specific brain area.
           So is it possible to visualize the effect brought by AC
          frequency change on simNIBS? Or is there any
          <span style="font-size:12.0pt;color:black">some code examples
            for AC simulation that gives a complete
            <span style="background:white">process to scale and sum
              electric fields from different simulations to obtain
              oscillating AC electric field as you explained in FAQ?</span></span><o:p></o:p></p>
        <p class="MsoNormal">   Any further replay is appreciated,
          thanks a lot and have a nice day.<o:p></o:p></p>
        <p class="MsoNormal">Best, <o:p></o:p></p>
        <p class="MsoNormal">Tianyu Du<o:p></o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></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>
  </body>
</html>