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

Uploaded Source

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: eegyolk-0.0.1-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.1-py3.8.egg
Algorithm Hash digest
SHA256 5a7473499f0d98093120a0e9e6199aaeed7380155cadb9110849bc0bde26b847
MD5 747198d15fd5e3453ef76e2fde49019f
BLAKE2b-256 0f688e85d2dab290da597b5b01c727f575001f655bc9aa72618437585b30cdd2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eegyolk-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98a387f6a4347770625b196fc835d1f7d53155583a19221aeef4ad130cf58cc8
MD5 31c84e6bd0761e6277891b765db9caf9
BLAKE2b-256 e894f4c58771ce5b4bcf2a1cfcb778fd92dd2cea4489acf10bc96c1b4b719d35

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