# find\_ch\_adjacency error

**URL:** <https://mne.discourse.group/t/find-ch-adjacency-error/9130>\
**Category:** Support & Discussions\
**Created:** [July 28, 2024, 2:49pm UTC](https://mne.discourse.group/t/find-ch-adjacency-error/9130 "2024-07-28T14:49:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hugues1273](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/hugues1273/32/2423_2.png) [@Hugues1273](https://mne.discourse.group/u/Hugues1273)\
**Post date:** [July 28, 2024, 2:49pm UTC](https://mne.discourse.group/t/find-ch-adjacency-error/9130/1 "2024-07-28T14:49:02Z")

</div>

Hello

I am trying to use find\_ch\_adjacency but it does not work, it returns the error:  
`Could not find a adjacency matrix for the data. Computing adjacency based on Delaunay triangulations.`

and then

```python
QhullError: QH6214 qhull input error: not enough points(1) to construct initial simplex (need 4)

While executing: | qhull d Qbb Qt Qc Qz Q12
Options selected for Qhull 2019.1.r 2019/06/21:
  run-id 850009535 delaunay Qbbound-last Qtriangulate Qcoplanar-keep
  Qz-infinity-point Q12-allow-wide _pre-merge _zero-centrum Qinterior-keep
  _maxoutside 0

```

My montage is easycap-M1

here is my code:

```python
RawData.set_montage("easycap-M1", on_missing = "ignore")
fig1 = RawData.plot_sensors(show_names=True)

```

then I did some analyses and then:

```python
Info = Condition1Epoch[0].info

# builtin_ch_adj = mne.channels.get_builtin_ch_adjacencies(descriptions=True)
# for adj_name, adj_description in builtin_ch_adj:
# print(f"{adj_name}: {adj_description}")

Ch_Adjacency, Ch_Names = mne.channels.find_ch_adjacency(Info, "eeg")

```

where Condition1Epoch[0] is the first epoch of a specific condition (I am working with epochs).

Have some ideas? I tried to get the montage using .get\_montage() and it returned:  
`<DigMontage | 0 extras (headshape), 0 HPIs, 3 fiducials, 1 channels>`

And of course I do not have only one channel, every previous analyses worked perfectly and showed all the channels…

Have someone an idea?

Thank you so much!

Using Windows 11, python 3.12, I installed mne on this new computer like 3 weeks ago, so it is a quite recent version of mne.

---

<div class="post-metadata">

**Author:** ![Hugues1273](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/hugues1273/32/2423_2.png) [@Hugues1273](https://mne.discourse.group/u/Hugues1273)\
**Post date:** [July 29, 2024, 2:56pm UTC](https://mne.discourse.group/t/find-ch-adjacency-error/9130/2 "2024-07-29T14:56:47Z")

</div>

Dear all,

for some reasons I don’t know, everything is now working perfectly fine, I did not change anything…  
🤷‍♂️ 🤷‍♂️ 🤷‍♂️

have a good day!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [August 5, 2024, 2:57pm UTC](https://mne.discourse.group/t/find-ch-adjacency-error/9130/3 "2024-08-05T14:57:40Z")

</div>

Closed on August 5, 2024, 2:57pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
