GithubHelp home page GithubHelp logo

node9909 / openvibe-test-bci Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seidikun/openvibe-test-bci

0.0 1.0 0.0 173 KB

An example of framework to run in mass EEG files and BCI training on OpenVibe

Python 82.30% MATLAB 17.70%

openvibe-test-bci's Introduction

openvibe-test-bci

An example of framework to run in mass EEG (Electroencephalography) files and BCI (Brain-Computer Interface) training on OpenVibe

A python code is used to run OpenVibe environments with variable setup parameters. Training information (mainly classifier accuracy) can be extracted from the log produced by OpenVibe Designer.

A folder containg a standalone project is provided, I used it to run multiple variants of the Regularized CSP Trainer box + LDA classifier and compare the resulting training accuracies with classical CSP trainer box + LDA. If you want to run your own environments, follow the steps below.

Steps to run

  1. Map .ov files (a .csv folder is input in the example, but you can change the code provided to input any format)
  2. Setup OpenVibe environment and add ${variable_name} to every configuration parameter you want to make generic, and which can be input by the code
  3. Add call to run environment in run_environment.py module
  4. Use run_environment.py functions in main.py to create your own pipeline and extract informations from OpenVibe Designer log

Pre-requisites

The following was used to produce the files: OpenVibe 2.1.0, Python 3, Microsoft Excel

Some expected knowledge:

  • You should be familiar with OpenVibe software, if not, many tutorials are provided online and the software comes with example environments which can get you started
  • Python language programming is used to implement the automatization so if you want to implement your own changes in the code, be sure to understand its syntax. The most important packages are pandas and subprocess

I hope this project can be used as an inspiration to implement fast EEG files processing and reduce manual parameters settings

TO DO

Last Updates:

  • (02/08/2019) Added notify-run, which can send you notifications through the notify.run service
  • (12/08/2019) Important static variables are now readen from a configFile
  • (12/08/2019) Implemented try-except logic for the processing pipeline (+ notify-run error message)

I'm probably closing edits on this project, but it is still being developed. If you want to get an update or send a feedback, please message me

openvibe-test-bci's People

Contributors

seidikun avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.