To compute the functional connectivity from EEG in various bands
Project description
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)
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-0.0.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for eeg_fConn-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebd7626970b260dcb4267989bb0c85d11902c57b414869fe2fd1144e653a41e8 |
|
MD5 | ebc979aecc646b17b554d7eaa1dea73a |
|
BLAKE2b-256 | af0562536a1826d4218ebd73b59a58f0a60c40dac59f4028dbb71e294a603d1f |