<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello,</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've contacted you last week and would like to follow up on my last email. I would really appreciate your help!</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);">
Thank you!</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);">
Jason</div>
<div id="appendonsend"></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> Jason Leung<br>
<b>Sent:</b> March 10, 2021 11:49 AM<br>
<b>To:</b> discuss@simnibs.org <discuss@simnibs.org><br>
<b>Subject:</b> SimNIBS for EEG Source Reconstruction</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hello,</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 trying to use SimNIBS for EEG source reconstruction and I have a few questions.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<ol>
<li>I noticed that the leadfield matrix created with TDCSLEADFIELD that is stored in the hdf5 file has dimensions: [3 x number of nodes x number of EEG electrodes]. I was wondering what the first dimension of 3 here represents. Is it the current density split
 into the X, Y, Z components?</li><li>I'm trying to import my own EEG cap for the leadfield calculations. In the EEG cap CSV file, I noticed that reference electrode is labelled as 'ReferenceElectrode' as compared to other electrodes which are just labelled 'Electrode'. Is there another label
 for the ground electrode or should I just omit it from the CSV file?<br>
</li><li>I noticed Oula mentioned that SimNIBS 4.0 is available from <a href="https://ww4.aievolution.com/hbm2001/index.cfm?do=abs.viewAbs&abs=2104" title="https://ww4.aievolution.com/hbm2001/index.cfm?do=abs.viewAbs&abs=2104">
this abstract submission</a>. According to the abstract, SimNIBS 4.0 supports lead-field calculations, which allows the improved head modeling to be integrated into EEG source reconstruction algorithms. I was wondering where we could download and install version
 4.0, since the latest one I can find is version 3.2. I'm also interested to know if this new version of SimNIBS come with EEG source inversion algorithms (i.e. MNE, LORETA) as well. Currently, I'm looking into how I can read the leadfield computed by TDCSLEADFIELD()
 into fieldtrip to do source inversion, but if SimNIBS 4.0 comes with support for these algorithms as well that would be very nice!</li></ol>
<div>Thanks a lot for the amazing software package and I really appreciate your help!</div>
<div><br>
</div>
<div>Jason</div>
</div>
</div>
</body>
</html>