<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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 class="moz-txt-link-freetext" href="https://mne.tools/stable/python_reference.html#module-mne.channels">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 class="moz-txt-link-freetext" href="https://mne.tools/stable/glossary.html">https://mne.tools/stable/glossary.html</a>), but here the relevant
      points:</p>
    <dl class="glossary">
      <dt id="term-layout">layout</dt>
      <dd>
        <p>A <a class="reference internal"
href="https://mne.tools/stable/generated/mne.channels.Layout.html#mne.channels.Layout"
            title="mne.channels.Layout"><code class="xref py py-class
              docutils literal notranslate"><span class="pre">Layout</span></code></a>
          gives sensor positions in 2
          dimensions (defined by <code class="docutils literal
            notranslate"><span class="pre">x</span></code>, <code
            class="docutils literal notranslate"><span class="pre">y</span></code>,
          <code class="docutils literal notranslate"><span class="pre">width</span></code>,
          and <code class="docutils literal notranslate"><span
              class="pre">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 class="glossary">
      <dt id="term-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 class="reference internal"
href="https://mne.tools/stable/generated/mne.channels.DigMontage.html#mne.channels.DigMontage"
            title="mne.channels.DigMontage"><code class="xref py
              py-class docutils literal notranslate"><span class="pre">DigMontage</span></code></a>
          for the API of the corresponding object
          class.</p>
      </dd>
    </dl>
    <p>HTH</p>
    <p>Phillip<br>
    </p>
    <div class="moz-cite-prefix">On 10/7/20 1:23 pm, Abdallah Qusaibe
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAAj1RLtsn9Py+38kt3P29Ht5c4hzd0Y3wxqbZy3h8NyuQYQDGA@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <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 &lt;<a href="mailto:phillip.alday@mpi.nl"
            moz-do-not-send="true">phillip.alday@mpi.nl</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>
            <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" moz-do-not-send="true">Mne_analysis@nmr.mgh.harvard.edu</a>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank" moz-do-not-send="true">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a></pre>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>