Skip to main content

To compute the functional connectivity from EEG in various bands

Project description

Update

  • [version = 1.2.0] Added functionality to compute imaginary part of coherency

Installation

pip install eeg-fConn

Usage

import numpy as np
from eeg_fConn import connectivity as con

# dummy data
data = np.random.rand(10,200)

# filtering data
filtered_data = con.filteration(data=data, f_min=8, f_max=12, fs=250)

# pli connectivity
M,V = con.pli_connectivity(sensors=10,data=filtered_data)

# plv connectivity
M,V = con.plv_connectivity(sensors=10,data=filtered_data)

# ccf connectivity
M,V = con.ccf_connectivity(sensors=10,data=filtered_data)

# coh connectivity
M,V = con.coh_connectivity(sensors=10, data=data, f_min=8, f_max=12, fs=250)

# icoh connectivity
M,V = con.icoh_connectivity(sensors=10, data=data, f_min=8, f_max=12, fs=250)

Here M and V are connectivity matrix and connectivity vector respectively.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eeg_fConn-1.2.0.tar.gz (1.6 kB view hashes)

Uploaded Source

Built Distribution

eeg_fConn-1.2.0-py3-none-any.whl (13.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page