Skip to main content

A package for analysis of EEG data

Project description

eegyolk

PyPI DOI Anaconda-Server Badge Sanity Sanity License

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 current_enviro2.yml and switch to this environment running command: conda activate mne-marchez.
  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

Testing uses synthetic data. Testing will requires you to either run tests inside a container or extract the data from our image with synthetic data in our docker. The docker image will be drcandacemakedamoore/eegyolk-test-data:latest . Until then you could also reconfigure and rename your own valid bdf files and metadata as configured and named in the tests/test.py, and local testing should work. Finally, you can contact Dr. Moore c.moore@esciencecenter.nl for synthetic test data and/or with any questions on testing.

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.4-py3.8.egg (82.2 kB view details)

Uploaded Source

eegyolk-0.0.4-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eegyolk-0.0.4-py3.8.egg
  • Upload date:
  • Size: 82.2 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.4-py3.8.egg
Algorithm Hash digest
SHA256 58c7b436e3afc3420ce09c0351bda0176094010f4c14a6d102bd4b863e2fb98a
MD5 204a1b1a81af5b1c49b60569fc1a6daa
BLAKE2b-256 63e093e7a5c0bf5558470ebc852c106da873ba4f67f3acb25e28b334737f558b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eegyolk-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 42.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b10e2e5849573a3d91c08922b2ecff831ede53474085ce73aa65b20b8c82a51c
MD5 457f79423348b5c3d82f95c10ab3b071
BLAKE2b-256 e78e104753dcb2667d03bd7bacaeaecce6b1460cd08ceb70cbf3d39dd9e2d02b

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