<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><br></div><div>I answer to myself if anyone search about the same question :<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>You have to modify mesh_io.py in this way : line 2673 <br data-mce-bogus="1"></div><div>focality[i] = np.sum(weights[norm > c * peak_value]) -> replace by focality[i] = np.sum(weights[norm > c * your_threshold])<br data-mce-bogus="1"></div><div>additionnaly, replace cuttofs by [100,100] in 'def get_focality' (line ) and 'def summary' (line 2677)<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>L.T.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br></div><div data-marker="__SIG_PRE__"><table style="background:#fff;border:1px solid #f3f3f3"><tbody><tr><td style="vertical-align:top;padding:0 10px;border-right:2px solid #f3f3f3;width:140px">
<span style="display:inline-block">
<a href="https://www.univ-grenoble-alpes.fr/" target="_blank" rel="nofollow noopener noreferrer">
<img id="logoId" src="https://www.cnrs.fr/themes/custom/cnrs/logo.svg" style="display:block;width:130px;padding:20px 5px">
</a>
</span>
</td><td style="padding:16px 40px 16px 16px;font-family:'arial';color:#000;font-size:13px">
<span id="cnId" style="font-weight:bold;display:block;font-size:15px;color:#515e66">Laurent Torlay</span>
<span id="fonction1Id" style="display:inline-block">Ingénieur</span> <span id="fonction2Id" style="display:inline-block"></span> -
<span id="serviceId" style="color:#515e66">CNRS</span>
<br>
<span id="filetDeco" style="height:4px;display:block;margin:8px 0 12px;width:20px;background:red"></span>
<p style="font-size:12px">
<span id="bureauId" style="display:block">Bureau E 110</span>
<span id="addressgeoId" style="display:none"></span>
<span id="addressId" style="display:none"></span>
<span id="retourId" style="display:none"><br></span>
</p>
<span id="telephonePId"></span>
<span id="telephoneId">33 (0)4 76 74 81 38 </span>
<span id="siteId" style="display:none">
<a href="http://www.univ-grenoble-alpes.fr/" style="color:#676767" target="_blank" rel="nofollow noopener noreferrer">www.univ-grenoble-alpes.fr</a> </span>
<span id="fbtId" style="display:none">
Rejoignez-nous sur <a href="https://www.facebook.com/UGrenobleAlpes/" style="color:#737375" target="_blank" rel="nofollow noopener noreferrer">Facebook</a> - Suivez-nous sur <a href="https://twitter.com/UGrenobleAlpes" style="color:#737375" target="_blank" rel="nofollow noopener noreferrer">Twitter</a><br> </span>
<span id="urlId" style="display:none">
<a href="VARIABLE-URL" style="color:#515e66" target="_blank" rel="nofollow noopener noreferrer">VARIABLE-URL</a>
</span>
</td></tr></tbody></table></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>"LAURENT TORLAY" <laurent.torlay@univ-grenoble-alpes.fr><br><b>À: </b>"discuss" <discuss@simnibs.org><br><b>Envoyé: </b>Mardi 15 Novembre 2022 10:49:25<br><b>Objet: </b>Focality with a specific threshold<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><div style="font-family:'arial' , 'helvetica' , sans-serif;font-size:12pt;color:#000000"><br><div>Hello,<br></div><br><div>First, I use Simnibs for several years and thank you for developping such a software !<br></div><div>My question : in the file fields_summary.txt, focality is measured by 'area with a field >= X% of the 99.9th percentile', how can we get a similar measurement with a specific threshold in V/m ? (moreover, why the result is a volume ? The area is multiplied by a mean cortical thickness (of the area, the whole brain ?) )<br></div><div>Thanks in advance,<br></div><div>Best,<br></div><br><div>L. Torlay<br></div><br></div><br></div></div></body></html>