<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;"> External Email - Use Caution </span></p><p></p><div dir="ltr">Dear Phillip,<div><br></div><div>Thank you for your reply, </div><div>Is there any example in mne for this (modifying channel)? most of the example in mne started with load fif file that I do not have,</div><div>I do not understand how to modify or build meg sensors, can you give me a real example please?</div><div>if I want to export the channel file from brainstorm (.pos) and is there a way to load it in mne to use the analysis of mne tool?</div><div><br></div><div>Thank you</div><div>Abdallah</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 10 Jul 2020 at 13:45, Phillip Alday <<a href="mailto:phillip.alday@mpi.nl">phillip.alday@mpi.nl</a>> 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>
<p>Please keep the list in CC.</p>
<p>The channels module has the tools to load and manipulate montages
(both custom and built-in):</p>
<p><a href="https://mne.tools/stable/python_reference.html#module-mne.channels" target="_blank">https://mne.tools/stable/python_reference.html#module-mne.channels</a></p>
<p>I would not recommend modifying the actual files for the built-in
montages because that would change the behavior of MNE for all
data, including examples that depend on the built-ins working as
they are distributed.</p>
<p>For the difference between montage and layout, see the glossary
(<a href="https://mne.tools/stable/glossary.html" target="_blank">https://mne.tools/stable/glossary.html</a>), but here the relevant
points:</p>
<dl>
<dt id="gmail-m_5506781928447110817term-layout">layout</dt>
<dd>
<p>A <a href="https://mne.tools/stable/generated/mne.channels.Layout.html#mne.channels.Layout" title="mne.channels.Layout" target="_blank"><code class="gmail-notranslate"><span>Layout</span></code></a>
gives sensor positions in 2
dimensions (defined by <code class="gmail-notranslate"><span>x</span></code>, <code class="gmail-notranslate"><span>y</span></code>,
<code class="gmail-notranslate"><span>width</span></code>,
and <code class="gmail-notranslate"><span>height</span></code> values for
each sensor). It is primarily used for illustrative purposes
(i.e., making
diagrams of approximate sensor positions in top-down diagrams
of the head,
so-called topographies or topomaps).</p>
</dd>
</dl>
<dl>
<dt id="gmail-m_5506781928447110817term-montage">montage</dt>
<dd>
<p>EEG channel names and the relative positions of the sensor
w.r.t. the scalp.
While layout are 2D locations, montages give 3D locations. A
montage
can also contain locations for HPI points, fiducial points, or
extra head shape points.
See <a href="https://mne.tools/stable/generated/mne.channels.DigMontage.html#mne.channels.DigMontage" title="mne.channels.DigMontage" target="_blank"><code class="gmail-notranslate"><span>DigMontage</span></code></a>
for the API of the corresponding object
class.</p>
</dd>
</dl>
<p>HTH</p>
<p>Phillip<br>
</p>
<div>On 10/7/20 1:23 pm, Abdallah Qusaibe
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Phillip,
<div><br>
</div>
<div>I hope you are well,</div>
<div><br>
</div>
<div>Yes the montage file of the sensors, do you know how can I
modify it?</div>
<div>for example to modify the orientation of the sensor,</div>
<div><br>
</div>
<div>Regards</div>
<div>Abdallah</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 10 Jul 2020 at 13:17,
Phillip Alday <<a href="mailto:phillip.alday@mpi.nl" target="_blank">phillip.alday@mpi.nl</a>> 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>
<p>Hi,</p>
<p>What do you mean with channel file? The montage file with
electrode coordinates and names? Can you tell us more
about what the end goal is / why you want to modify this
file?</p>
<p>Best,</p>
<p>Phillip<br>
</p>
<div>On 10/7/20 12:23 pm, Abdallah Qusaibe wrote:<br>
</div>
<blockquote type="cite">
<p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)"> External
Email - Use Caution </span></p>
<div dir="ltr">Dear Mne community,
<div><br>
</div>
<div>Can you please give me a real example, how can I
modify the channel file?</div>
<div><br>
</div>
<div>Kind regards</div>
<div>Abdallah</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Mne_analysis mailing list
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a></pre>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote></div>