# mne-connectivity

**URL:** https://mne.discourse.group/t/mne-connectivity/10837
**Category:** Support & Discussions
**Tags:** eeg, epochs
**Created:** [February 23, 2025, 6:29pm UTC](https://mne.discourse.group/t/mne-connectivity/10837 "2025-02-23T18:29:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jakubskunda](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/jakubskunda/32/4149_2.png) [@jakubskunda](https://mne.discourse.group/u/jakubskunda)
#### Post date: [February 23, 2025, 6:29pm UTC](https://mne.discourse.group/t/mne-connectivity/10837/1 "2025-02-23T18:29:44Z")

</div>

Hello guys,  
I am currently working on extracting features, but I’m little confused how mne-connectivity.spectral\_connectivity\_epochs works.

I also extracted few features using mne\_features.feature\_extraction.extract\_features, which returns dataset and for each epoch there are this features calculated. I want to do same with connectivity features, but i can’t acess data for 1 epoch as it is possible with mne\_features.

I don’t know if i mentioned all necessary info, but i would be glad if someone reply and i can share more 🙂

---

<div class="post-metadata">

### Author: ![tsbinns](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/tsbinns/32/4543_2.png) [@tsbinns](https://mne.discourse.group/u/tsbinns)
#### Post date: [February 24, 2025, 9:38am UTC](https://mne.discourse.group/t/mne-connectivity/10837/2 "2025-02-24T09:38:13Z")

</div>

Hi,

Since single-epoch spectral connectivity estimates can be very noisy, `spectral_connectivity_epochs()` averages over epochs to give more reliable estimates.

If you need per-epoch results, [`spectral_connectivity_time()`](https://mne.tools/mne-connectivity/stable/generated/mne_connectivity.spectral_connectivity_time.html) is recommended.

You could pass in each epoch to `spectral_connectivity_epochs()` separately, but do so with caution.

Cheers,  
Thomas
