<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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]-->
</head>
<body lang="en-NL" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Thank you very much! I’ll try this solution.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Kind regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Aline Dantas<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-NL" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Axel Thielscher <axelt@drcmr.dk>
<br>
<b>Sent:</b> Wednesday, 2 June 2021 14:50<br>
<b>To:</b> Dantas, A (MW) <a.dantas@maastrichtuniversity.nl>; discuss@simnibs.org; jonas.persson@neuro.uu.se<br>
<b>Cc:</b> Ébner, Nancy (Stud. FHML / Alumni UCV) <n.ebner@student.maastrichtuniversity.nl><br>
<b>Subject:</b> Re: [Simnibs-discuss] SimNIBS simulation - TMS study - Overlap figure<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hi,<o:p></o:p></p>
<p>for determining an overlap, you will have to set a threshold to then show the regions where both TMS fields exceed this threshold.  In the attached example code , I've used 0.75 as threshold, please adjust this according to your needs.
<o:p></o:p></p>
<p>Regions where the first stimulation exceeds the threshold are coded as 1, regions where the second stimulation exceeds the threshold are coded as 2, the overlap is coded as 3.<o:p></o:p></p>
<p><img width="559" height="349" style="width:5.8177in;height:3.6354in" id="Picture_x0020_1" src="cid:image001.png@01D757C1.60011FB0"><o:p></o:p></p>
<p>Best regards,<o:p></o:p></p>
<p>Axel<o:p></o:p></p>
<p><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 5/26/2021 2:33 PM, Dantas, A (MW) wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Dear all,
</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">My student Nancy Ébner got in touch with you recently about the need for a Magventure double cone coil simulation using SimNIBS.
</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">We ran the simulations successfully, so first of all I would like to thank you!</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">We have an experiment deactivating the VMPFC vs. deactivating the right DLPFC. So far, we managed to run both simulations, but it would be great if we could the overlap image of stimulating
 these two areas. We tried to make it but did not succeed. </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Do you think you could help me to build that?</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Thank you!</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Kind regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Aline Dantas</span><o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Simnibs-discuss mailing list<o:p></o:p></pre>
<pre><a href="mailto:Simnibs-discuss@drcmr.dk">Simnibs-discuss@drcmr.dk</a><o:p></o:p></pre>
<pre><a href="https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss">https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss</a><o:p></o:p></pre>
</blockquote>
<pre>-- <o:p></o:p></pre>
<pre>Dr. Axel Thielscher<o:p></o:p></pre>
<pre>Professor of Neurophysics and Neuroimaging<o:p></o:p></pre>
<pre>Danish Research Center for Magnetic Resonance<o:p></o:p></pre>
<pre>Copenhagen University Hospital Hvidovre<o:p></o:p></pre>
<pre>DK-2650 Hvidovre, Denmark<o:p></o:p></pre>
<pre><a href="http://www.drcmr.dk">www.drcmr.dk</a><o:p></o:p></pre>
<pre>&<o:p></o:p></pre>
<pre>Department of Health Technology<o:p></o:p></pre>
<pre>Technical University of Denmark<o:p></o:p></pre>
<pre>DK-2800 Kgs. Lyngby<o:p></o:p></pre>
<pre><a href="http://www.healthtech.dtu.dk/">http://www.healthtech.dtu.dk/</a><o:p></o:p></pre>
</div>
</body>
</html>