معرفی شرکت ها


EEGRAPH-0.1.9


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

-
ویژگی مقدار
سیستم عامل -
نام فایل EEGRAPH-0.1.9
نام EEGRAPH
نسخه کتابخانه 0.1.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده CEIEC
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/ufvceiec/EEGRAPH
آدرس اینترنتی https://pypi.org/project/EEGRAPH/
مجوز GPL-3.0
<p align="center"> <img src="https://github.com/ufvceiec/EEGRAPH/blob/develop-refactor/demo/eegraph-logo.png" alt="EEGraph Logo"/> </p> [![GP3 License](https://img.shields.io/github/license/ufvceiec/EEGRAPH.svg)](https://github.com/ufvceiec/EEGRAPH/blob/develop-refactor/LICENSE) [![Python](https://img.shields.io/badge/python-3.7%20%7C%203.8-blue.svg)](https://www.python.org/downloads/) [![PyPI](https://img.shields.io/pypi/v/EEGRAPH?color=blue)](https://pypi.org/project/EEGRAPH/) [![Build Status](https://travis-ci.com/ufvceiec/EEGRAPH.svg?branch=develop-refactor)](https://travis-ci.com/ufvceiec/EEGRAPH) [![codecov](https://codecov.io/gh/ufvceiec/EEGRAPH/branch/develop-refactor/graph/badge.svg?token=WxnBb2CTTL)](https://codecov.io/gh/ufvceiec/EEGRAPH) EEGraph is a Python library to model electroencephalograms (EEGs) as graphs, so the connectivity between different brain areas could be analyzed. It has applications in the study of neurologic diseases like Parkinson or epilepsy. The graph can be exported as a NetworkX graph-like object or it can also be graphically visualized. If you are using this library please cite it as: Maitin, A. M., Nogales, A., Chazarra, P., & García-Tejedor, Á. J. (2023). EEGraph: An open-source Python library for modeling electroencephalograms using graphs. Neurocomputing, 519, 127-134. ## Getting Started ### Dependencies What libraries does EEGraph use. * Numpy * Pandas * Mne * Matplotlib * NetworkX * Plotly * Scipy * Scot * Antropy * Kaleido ### Installing EEGraph To install the latest stable version of EEGraph, you can use pip in a terminal: ```python pip install EEGRAPH ``` ## Functions ### Documentation [EEGraph documentation](https://github.com/ufvceiec/EEGRAPH/wiki) is available online. [Examples](https://github.com/ufvceiec/EEGRAPH/blob/develop-refactor/Examples/EEGraph_Example.ipynb) of usage are also available. ### Importing EEG data The different supported EEG file formats by EEGraph. ##### File format | Extension * Brainvision | .vhdr * Neuroscan CNT | .cnt * European data format | .edf * Biosemi data format | .bdf * General data format | .gdf * EGI simple binary | .egi * EGI MFF format | .mff * eXimia | .nxe ### Connectivity Measures The different available connectivity measures in EEGraph. Visit [documentation](https://github.com/ufvceiec/EEGRAPH/wiki/Modelate-Data) for more info. * Cross Correlation * Pearson Correlation * Squared Coherence * Imaginary Coherence * Corrected Cross Correlation * Weighted Phase Lag Index (WPLI) * Phase Locking Value (PLV) * Phase Lag Index (PLI) * Directed Transfer Function (DTF) * Power Spectrum * Spectral Entropy * Shannon Entropy ## Usage Example usage of the library with Pearson Correlation. *** ### Load data ```python import eegraph G = eegraph.Graph() G.load_data(path = 'eeg_sample_1.edf', exclude = ['EEG TAntI1-TAntI', 'EEG TAntD1-TAntD', 'EEG EKG1-EKG2']) ``` #### Electrode Montage An electrode montage file can be specified for channels names while loading EEG data. Visit [documentation](https://github.com/ufvceiec/EEGRAPH/wiki/Load-data-from-EEG) for more info. ```python import eegraph G = eegraph.Graph() G.load_data(path = 'eeg_sample_1.edf', electrode_montage_path = 'electrodemontage.set.ced') ``` *** ### Modelate data ##### Without frequency bands ```python graphs, connectivity_matrix = G.modelate(window_size = 2, connectivity = 'pearson_correlation') ``` ##### With frequency bands ```python graphs, connectivity_matrix = G.modelate(window_size = 2, connectivity = 'squared_coherence', bands = ['delta','theta','alpha']) ``` ### Threshold A custom threshold can be specified as a parameter in modelate. Default threshold values can be found in the [documentation](https://github.com/ufvceiec/EEGRAPH/wiki/Modelate-Data). ```python graphs, connectivity_matrix = G.modelate(window_size = 2, connectivity = 'pearson_correlation', threshold = 0.8) ``` ### Window size The window size can be defined as an _int_ or _list_. _int_: The set window size in seconds, e.g.(2). All the time intervals will be 2 seconds long. _list_: The specific time intervals in seconds, e.g.[0, 3, 8]. The time intervalls will be the same as specified in the input. *** ### Visualize graph In order to visualize graphs, EEG channel names must be in one of the following formats: * Standard: 'Fp1', 'Fp2', 'C3', 'Cz'... * Dash separated: 'Fp1-EEG', 'Fp2-EEG', 'C3-EEG', 'Cz-EEG'... * Space separated: 'EEG Fp1', 'EEG Fp2', 'EEG C3', 'EEG Cz'... For the Space separtor the information on the left side of the separator will be ignored, the standard electrode name must be on the right side. For the Dash separtor the information on the right side of the separator will be ignored, the standard electrode name must be on the left side. ```python G.visualize(graphs[0], 'graph_1') ``` ![Connectivity Graph Output Example](https://github.com/ufvceiec/EEGRAPH/blob/develop/demo/eegraph_output.gif) ### Execution example video https://user-images.githubusercontent.com/41289779/201069364-95fa82dd-a96b-454f-af79-7f124edb7d03.mp4 ## EEGraph Workflow ![EEGraph Workflow Example](https://github.com/ufvceiec/EEGRAPH/blob/develop-refactor/demo/eegraph_workflow.png) ## Contributing See [Contribution guidelines](https://github.com/ufvceiec/EEGRAPH/blob/develop-refactor/CONTRIBUTING.md) for more information. ## Versioning See [CHANGELOG.txt](CHANGELOG.txt) for major/breaking updates and version history. ## Contact Centro de Estudios e Innovación en Gestión del Conocimiento (CEIEC), Universidad Francisco de Vitoria. * Responsible: Ana María Maitín (a.maitin@ceiec.es), Alberto Nogales * Main developer: Pedro Chazarra * Contributor: Fernando Pérez ([@FernandoPerezLara](https://github.com/FernandoPerezLara)) ## Disclaimer * There is a known issue with DTF connectivity, sometimes the error 'math domain error' is shown, it is part of an external library. ## License This project is licensed under the [GPL-3.0 License](https://github.com/ufvceiec/EEGRAPH/blob/develop-refactor/LICENSE).


نیازمندی

مقدار نام
==1.21.1 numpy
>=1.1.5 pandas
==1.2 mne
>=2.5 networkx
>=4.14.3 plotly
>=1.1.0 scipy
==0.2.1 scot
>=0.1.4 antropy
==0.2.1 kaleido


نحوه نصب


نصب پکیج whl EEGRAPH-0.1.9:

    pip install EEGRAPH-0.1.9.whl


نصب پکیج tar.gz EEGRAPH-0.1.9:

    pip install EEGRAPH-0.1.9.tar.gz