<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Eden,</p>
<p><br>
</p>
<p>Fsaverage and the MNI are roughly in the same space, so the coordinates should more or less match.</p>
<p>If you want points on the fsaverage surface you can look for the closest node on the surface to your MNI coordinate of interets.</p>
<p><br>
</p>
<p>W.r.t. the electodes the definitions on how they are setup can be found here: </p>
<p><a href="https://simnibs.github.io/simnibs/build/html/documentation/sim_struct/electrode.html" class="OWAAutoLink" id="LPlnk307900" previewremoved="true">https://simnibs.github.io/simnibs/build/html/documentation/sim_struct/electrode.html</a><br>
</p>
<p><br>
</p>
<p>and the electrode locations and shapes should be stored in the simulation structure. If you need the full geometrical outline of the electrode on the skin, then you should use the .geo file.</p>
<p><br>
</p>
<p>Best,<br>
Oula</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Simnibs-discuss <simnibs-discuss-bounces@drcmr.dk> on behalf of TI, Chun Hang Eden <1155138422@link.cuhk.edu.hk><br>
<b>Sent:</b> Monday, January 25, 2021 4:42:14 AM<br>
<b>To:</b> simnibs-discuss@drcmr.dk<br>
<b>Subject:</b> [Simnibs-discuss] Questions regarding the Fsaverage space transformation , and electrode coordinates</font>
<div> </div>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Dear Sir/Madam, </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);">
I am currently running simulation analysis using the Fsaverage space provided by SIMNIBS. I want to study the relationship between the distance of electrodes and the electric field on that space. Is there a way to transform the MNI/native coordinates to the
 Fsaverage coordinates through matlab script?  In addition, I am also interested in how electrode geometry and their effect of stimulation. Currently the coordinates of electrodes are stored in .geo file. Is there a way to read these coordinates using MATLAB? </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);">
Look forward to your reply, and thank you very much. </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 regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Eden </div>
</div>
</body>
</html>