Skip to content

Data analysis of brainwaves acquired using a low-cost Brain-Computer Interface

Notifications You must be signed in to change notification settings

NicholasCHowlett/eegDataAnalysis

Repository files navigation

Source repo for eegDataAnalysis

This software repository contains some code to allow anyone to process an electroencephalography signal (process_data.ipynb). This repo also contains code to acquire this signal from OpenBCI hardware (get_data.py).

For an introduction to EEG refer to the eegDataAnalysis Binder. That Binder environment also allows interaction with the data processing pipeline (and modification of that code).

Setup of Python

Python 3 is used for both acquiring and processing data. Acquiring data is conducted by using Python directly in a Windows environment, while data processing is conducted in a Linux environment (installed via Windows Subsystem for Linux).

Python on Windows

Windows 10's security level needed to be reduced to allow activating of a Python-based virtual environment: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine. Within this virtual environment, IPython was installed and used as the development environment for acquiring data from the brain-computer interface.

Python on Linux

Ubuntu 20.04 LTS was used as the Linux distro on which Python packages for processing were used. JupyterLab was used as the development environment. The packages needed for processing (installed via Python's package manager) were installed within a virtual environment: pip3 install jupyterlab brainflow matplotlib mne.

About

Data analysis of brainwaves acquired using a low-cost Brain-Computer Interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published