Skip to main content

A package for analysis of EEG data

Project description

eegyolk

This library contains functions, scripts and notebooks for machine learning related to EEGs (electroencephalograms). The notebooks include an updated version of a project for deep learning for age prediciton using EEG data, as well as new ongoing work from students at the University of Urtrecht.

Notebooks

Initial experiments:

  • Ongoing

Configuration file

The config_template.py file should be renamed to config.py. Here the paths of the file locations can be stored. The ROOT folder can be the ROOT folder of this repository as well.

The Data folder contains the following folder/files:

Program files

The main program in this repository contains functions, for example DataGenerators.

Data sets

Some of the data sets of this project are publicly available, and some are not as they contains privacy-sensitive information.

Original published data from the DDP (Dutch Dyslexia Program) is used as demo data wherever possible. This data can be obtained from: https://easy.dans.knaw.nl/ui/datasets/id/easy-dataset:112935/

Collection of newer data acquired to detect dyslexia on a different protocol ended in 2022. This data is not yet public, however, there are many public EEG datasets to which the functions in this library can be applied.

NLeSC employees can download some additional data from surfdrive. Contact Candace Makeda Moore (c.moore@esciencecenter.nl) to discuss additional access to data,

Getting started

How to get the notebooks running? Assuming the raw data set and metadata is available.

  1. Install all Python packages required, using conda and the environment-march-update2.yaml file. run following line on your machine: conda env create -f mne-march3_enivonrment.yml and switch to this environment running command: conda activate mne-march3.
  2. Update the configuration_template.py (NOT config_template) file and rename to config.py.
  3. (being rebuilt) Use the preprocessing notebooks to process the raw data to usable data for either the ML or (reduced) DL models (separate notebooks).
  4. (being rebuilt) The 'model training' notebooks can be used the train and save models.
  5. (being rebuilt) The 'model validation' notebooks can be used to assess the performance of the models.

Testing

At present testing requires you to have your own data to test on. This is because at present we are using patient data to test on, and will not share it. We plan to replace this data with synthetic data available in a docker in the next release. You can configure and rename a valid bdf file as configured and named in the tests/test.py, and testing should work.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

eegyolk-0.0.2-py3.8.egg (28.5 kB view details)

Uploaded Source

eegyolk-0.0.2-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file eegyolk-0.0.2-py3.8.egg.

File metadata

  • Download URL: eegyolk-0.0.2-py3.8.egg
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for eegyolk-0.0.2-py3.8.egg
Algorithm Hash digest
SHA256 94db0440ae5cbe5b8ac6c7157517870ed66f2f445b2cd611cf282f8e84b4ca16
MD5 2917b70c2320a54b60fdf3c1c7751ac2
BLAKE2b-256 676f87ce1bafeaa92b9f85d408f5b1f00027307232d2863e00ea8683742e438e

See more details on using hashes here.

File details

Details for the file eegyolk-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: eegyolk-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for eegyolk-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1da1f61847847b4831c7dbdf0fc0c01ba784d5a7d60158bdeb3ee568abef89c5
MD5 714aff86bc545243761186e51a06de58
BLAKE2b-256 935d8832d6f29522b940c2f373b0d966a7019f3587963a29b35847be020c491d

See more details on using hashes here.

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