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

Uploaded Source

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: eegyolk-0.0.3-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.3-py3.8.egg
Algorithm Hash digest
SHA256 b8edf6c4e13e61c4b83d7c699eed5d89065452c3f47fd9d602e56b8c39d652bb
MD5 03041e3419df0d3ea480fe8e4abcaff4
BLAKE2b-256 52031cf4848ec90ce6e8e2ca6b5218042c4286a0a4f56f266ecab6dad885c01b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eegyolk-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ab7bbd423160ab26ca8f9b5c444c9f7004c711e0dc5b274f9e3f7fbfe717afbf
MD5 33bf7d3c5bf3c9b4c0e0e0352358498b
BLAKE2b-256 b46f5bd8bc337aa188b4fdb74a9a4f76ea55b02d2b592b83b215b504f2f14795

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