# default MEG/EEG layout and montage alignment

**URL:** https://mne.discourse.group/t/default-meg-eeg-layout-and-montage-alignment/8587
**Category:** Support & Discussions
**Tags:** montage
**Created:** [April 3, 2024, 5:12am UTC](https://mne.discourse.group/t/default-meg-eeg-layout-and-montage-alignment/8587 "2024-04-03T05:12:39Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Jianyang](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/jianyang/32/4061_2.png) [@Jianyang](https://mne.discourse.group/u/Jianyang)
#### Post date: [April 3, 2024, 5:12am UTC](https://mne.discourse.group/t/default-meg-eeg-layout-and-montage-alignment/8587/1 "2024-04-03T05:12:40Z")

</div>

Hello everyone,

I would like to examine how the CTF-275 layout or montage aligns with EEG. However, I have encountered a few issues:

1. I seem to have not found the default CTF-275 montage.
2. I would also like to ask whether the default unit-normalized positions of the channels in 2D are the same for MEG and EEG. It seems a bit strange to me because, based on the default layout in MNE, if I could easily align the MEG layout to the EEG layout, the outermost MEG points are generally located between AFz and Fz. Is this True?

Any help would be appreciated!

Additional information:

Code provided:  
layout = mne.channels.read\_layout(‘CTF275’, scale=1) # Load the CTF 275 layout  
layout.plot() # Plot the layout

 ![image](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/c/cdae56642d8e393bce620dc2bdf64a0f30980669.png)

The outermost MEG channel is MZF01, whose y position is 0.90, between Fz(0.79) and AFz(1.18)

 ![image](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/b/bce37714c3c837d5d8cdb1bcfb1f39dac43611e1.jpeg)

---

<div class="post-metadata">

### Author: ![cbrnr](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/cbrnr/32/1409_2.png) [@cbrnr](https://mne.discourse.group/u/cbrnr)
#### Post date: [April 4, 2024, 4:45am UTC](https://mne.discourse.group/t/default-meg-eeg-layout-and-montage-alignment/8587/2 "2024-04-04T04:45:53Z")

</div>

Layouts are used for 2D visualization purposes, you want to take a look at montages, which contain actual (or template) 2D or 3D locations. See e.g. [Glossary — MNE 1.6.1 documentation](https://mne.tools/stable/documentation/glossary.html#term-layout).

---

<div class="post-metadata">

### Author: ![Jianyang](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/jianyang/32/4061_2.png) [@Jianyang](https://mne.discourse.group/u/Jianyang)
#### Post date: [April 4, 2024, 3:13pm UTC](https://mne.discourse.group/t/default-meg-eeg-layout-and-montage-alignment/8587/3 "2024-04-04T15:13:49Z")

</div>

Thank you for your response. I have searched for the default montage for EEG, but I couldn’t find the ctf-275 montage. Could you please advise me on how to search for the ctf-275 montage and then to register it with the EEG channels’ positions? Your guidance would be greatly appreciated:)

---

<div class="post-metadata">

### Author: ![cbrnr](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/cbrnr/32/1409_2.png) [@cbrnr](https://mne.discourse.group/u/cbrnr)
#### Post date: [April 5, 2024, 5:38am UTC](https://mne.discourse.group/t/default-meg-eeg-layout-and-montage-alignment/8587/4 "2024-04-05T05:38:01Z")

</div>

After reading your initial question again, maybe you do not need 3D locations if you are only interested in how MEG and EEG locations align on a 2D projected head surface, so you can probably stick with layouts. MNE-Python ships a `EEG1005` layout, which contains the standard 10-05 electrode locations.

---

<div class="post-metadata">

### Author: ![Jianyang](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/jianyang/32/4061_2.png) [@Jianyang](https://mne.discourse.group/u/Jianyang)
#### Post date: [April 5, 2024, 6:05am UTC](https://mne.discourse.group/t/default-meg-eeg-layout-and-montage-alignment/8587/5 "2024-04-05T06:05:39Z")

</div>

I apologize for any confusion in my previous message. I have indeed found the layout for EEG1005, and I am now looking to compare it with the layout for ctf-275. I noticed that the outermost channels in the ctf layout seem to be positioned between the Fz and FCz channels in the EEG layout. As I am new to MEG and unfamiliar with this setup, I would like to kindly ask if this positioning is correct.

---

<div class="post-metadata">

### Author: ![cbrnr](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/cbrnr/32/1409_2.png) [@cbrnr](https://mne.discourse.group/u/cbrnr)
#### Post date: [April 5, 2024, 6:15am UTC](https://mne.discourse.group/t/default-meg-eeg-layout-and-montage-alignment/8587/6 "2024-04-05T06:15:20Z")

</div>

Maybe someone with experience in both MEG and EEG can chime in? Unfortunately, I am not familiar with MEG, so I cannot answer your question.

---

<div class="post-metadata">

### Author: ![agramfort](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@agramfort](https://mne.discourse.group/u/agramfort)
#### Post date: [April 5, 2024, 7:12am UTC](https://mne.discourse.group/t/default-meg-eeg-layout-and-montage-alignment/8587/7 "2024-04-05T07:12:29Z")

</div>

you can do something like this:

```python
import matplotlib.pyplot as plt
import mne
from mne.datasets.sample import data_path
from mne.viz.topomap import _prepare_topomap_plot

# Load the data
data_path = data_path()
evoked = mne.read_evokeds(data_path / "MEG/sample/sample_audvis-ave.fif")[0]

for ch_type in ["eeg", "mag"]:
    sphere = None
    (
        picks,
        pos,
        merge_channels,
        names,
        ch_type,
        sphere,
        clip_origin,
    ) = _prepare_topomap_plot(evoked, ch_type, sphere=sphere)

    plt.scatter(pos[:, 0], pos[:, 1], s=30, vmin=-1, vmax=1, label=ch_type)

plt.legend()

```

---

<div class="post-metadata">

### Author: ![Jianyang](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/jianyang/32/4061_2.png) [@Jianyang](https://mne.discourse.group/u/Jianyang)
#### Post date: [April 5, 2024, 10:40am UTC](https://mne.discourse.group/t/default-meg-eeg-layout-and-montage-alignment/8587/9 "2024-04-05T10:40:18Z")

</div>

Although the issue was not resolved, I truly appreciate your response：）

---

<div class="post-metadata">

### Author: ![Jianyang](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/jianyang/32/4061_2.png) [@Jianyang](https://mne.discourse.group/u/Jianyang)
#### Post date: [April 5, 2024, 10:43am UTC](https://mne.discourse.group/t/default-meg-eeg-layout-and-montage-alignment/8587/11 "2024-04-05T10:43:29Z")

</div>

Thank you for your response. I have tested your method using a CTF dataset, and it did yield results. However, I find it a bit peculiar that the Fpz point in the EEG channels is located within the MEG channels. It seems like the MEG layout is relatively larger compared to the EEG layout. Maybe their coordinate systems are different. I am uncertain if this alignment accurately represents the real situation.

This is the result of the ctf file, which has 274 MEG channels and 64 EEG channels

 ![image](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/5/5ea660674cdd62f9b4e69fbe39dfeb485c5bce95.png)
