<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div dir="ltr">hi Manorama<div><br></div><div>are you using default EGI xml locations or digitized locations?</div><div><br></div><div>if you use the template can you try:</div><div><br></div><div>montage = mne.channels.make_standard_montage(kind=&#39;EGI_256&#39;)</div><div><br></div><div>see: <a href="https://mne.tools/stable/generated/mne.channels.make_standard_montage.html?highlight=read_dig_egi">https://mne.tools/stable/generated/mne.channels.make_standard_montage.html?highlight=read_dig_egi</a></div><div><br></div><div>Alex</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 28, 2020 at 8:58 PM Kadwani, Manorama &lt;<a href="mailto:MKADWANI@mgh.harvard.edu">MKADWANI@mgh.harvard.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Hi all,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
I am using MNE v0.20 and trying to read electrode locations from an EGI system in .xml file format.
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
For this purpose, I used the function &quot;mne.channels.read_dig_egi&quot;. Whereas, my colleague has previously used &quot;mne.channels.read_dig_montage&quot; which is now discontinued in versions after v0.18. Both the functions return a DigMontage instance with a list of electrode
 number and their locations. Our issue is that the two montages have the locations with different values and different units; read_dig_egi uses &#39;mm&#39; and read_dig_montage uses meters. Simply scaling is not enough as even then the numbers are different. Any ideas
 on why the two montages are different for the same EGI file?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Another issue related to the coordinates: While aligning the EEG/MRI coordinates, my sensor points are way off from the head model. The points are invisible even after marking fiducials. ICL alignment does not work and gives an error that there was too large
 difference in matching. But when my colleague used the older function &quot;read_dig_montage&quot;, the sensor points were visible and also aligned well to the head model.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Let me know if I should provide more information. I have attached the two montage files, if that would be of any help.
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Thanks,<br>
</div>
<div id="gmail-m_-6994379149454342679Signature">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Manorama Kadwani</div>
</div>
</div>
</div>

_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a></blockquote></div>