All Projects → NeuroTechX → Eeg Notebooks_v0.1

NeuroTechX / Eeg Notebooks_v0.1

Licence: bsd-3-clause
Previous version of eeg-notebooks

Projects that are alternatives of or similar to Eeg Notebooks v0.1

Coco Analyze
A wrapper of the COCOeval class for extended keypoint error estimation analysis.
Stars: ✭ 179 (-1.1%)
Mutual labels:  jupyter-notebook
Recsys course at polimi
This is the official repository for the Recommender Systems course at Politecnico di Milano.
Stars: ✭ 180 (-0.55%)
Mutual labels:  jupyter-notebook
Face and emotion detection
Stars: ✭ 181 (+0%)
Mutual labels:  jupyter-notebook
Oct2py
Run M Files from Python - GNU Octave to Python bridge
Stars: ✭ 179 (-1.1%)
Mutual labels:  jupyter-notebook
Yolov3 Tf2
YoloV3 Implemented in Tensorflow 2.0
Stars: ✭ 2,327 (+1185.64%)
Mutual labels:  jupyter-notebook
Quant Notes
Quantitative Interview Preparation Guide, updated version here ==>
Stars: ✭ 180 (-0.55%)
Mutual labels:  jupyter-notebook
Ageron handson Ml
Hands-On Machine Learning with Scikit-Learn & TensorFlow (O'Reilly)
Stars: ✭ 179 (-1.1%)
Mutual labels:  jupyter-notebook
Libfm in keras
This notebook shows how to implement LibFM in Keras and how it was used in the Talking Data competition on Kaggle.
Stars: ✭ 181 (+0%)
Mutual labels:  jupyter-notebook
Anime Gan Tensorflow
The BIGGAN based Anime generation implemented with tensorflow. All training data has been open sourced.
Stars: ✭ 180 (-0.55%)
Mutual labels:  jupyter-notebook
Nlp profiler
A simple NLP library allows profiling datasets with one or more text columns. When given a dataset and a column name containing text data, NLP Profiler will return either high-level insights or low-level/granular statistical information about the text in that column.
Stars: ✭ 181 (+0%)
Mutual labels:  jupyter-notebook
Deeplearning.ai
该存储库包含由deeplearning.ai提供的相关课程的个人的笔记和实现代码。
Stars: ✭ 181 (+0%)
Mutual labels:  jupyter-notebook
Andrew Ng Notes
This is Andrew NG Coursera Handwritten Notes.
Stars: ✭ 180 (-0.55%)
Mutual labels:  jupyter-notebook
Keras Segnet
SegNet model implemented using keras framework
Stars: ✭ 180 (-0.55%)
Mutual labels:  jupyter-notebook
Introduction To Data Science In Python
This repository contains Ipython notebooks of assignments and tutorials used in the course introduction to data science in python, part of Applied Data Science using Python Specialization from University of Michigan offered by Coursera
Stars: ✭ 179 (-1.1%)
Mutual labels:  jupyter-notebook
Lets Plot Kotlin
Kotlin API for Lets-Plot - an open-source plotting library for statistical data.
Stars: ✭ 181 (+0%)
Mutual labels:  jupyter-notebook
Infiniteboost
InfiniteBoost: building infinite ensembles with gradient descent
Stars: ✭ 180 (-0.55%)
Mutual labels:  jupyter-notebook
Pulmonary Nodules Maskrcnn
Mask R-CNN for Pulmonary Nodules Diagnosis, using TensorFlow 天池医疗AI大赛:Mask R-CNN肺部结节智能检测(Segmentation + Classification)
Stars: ✭ 180 (-0.55%)
Mutual labels:  jupyter-notebook
Pytorch Vae
A CNN Variational Autoencoder (CNN-VAE) implemented in PyTorch
Stars: ✭ 181 (+0%)
Mutual labels:  jupyter-notebook
Wibd Workshops 2018
Stars: ✭ 181 (+0%)
Mutual labels:  jupyter-notebook
Juliabox
Juliabox continues to run, but this codebase is no longer current.
Stars: ✭ 180 (-0.55%)
Mutual labels:  jupyter-notebook

( Note: eeg-notebooks is now at version 0.2, with some major changes to the API and code base. The current up-to-date code base can be found here. The current repo is the the original repo, which has been frozen at version 0.1 and renamed. Why do this, rather than putting the legacy code on a separate branch? Because for version 0.2 we have stripped out a lot of old files (e.g. example data, which is now in a separate location), to get the repo down to a more manageable size (now ~30MB, as opposed to the present repo's 700+MB. So, please go check out the shiny new and improved library, and do get in touch (ideally in the form of an issue in the new repo) if you have any issues or questions! ).

EEG Notebooks

A collection of classic EEG experiments implemented in Python and Jupyter notebooks. This repo is a work in progress with the goal of making it easy to perform classical EEG experiments and automatically analyze data.

Currently, all experiments are implemented for the Muse EEG device and based on work done by Alexandre Barachant and Hubert Banville for the muse-lsl library.

Please see the documentation for advanced installation instructions and complete info about the project.

Getting Started

Installation

If you are a Mac user, follow the installation instructions here

You will need a Muse 2016 and Python installed on your computer. Psychopy, the stimulus presentation library that underlies most of the experiments, officially only supports Python 2. However, some users, especially those on Linux, have been able to work entirely in Python 3 without any issues.

git clone https://github.com/neurotechx/eeg-notebooks

Install all requirements.

pip install -r requirements.txt

See here for more detailed setup instructions for windows operating systems.

Running Experiments

Open the experiment you are interested in running in notebooks folder. Notebooks can be opened either with the Jupyter Notebook browser environment (run jupyter notebook) or in the nteract desktop application.

All experiments should be able to performed entirely within the notebook environment. On Windows 10, you will want to skip the bluetooth connection step and start an EEG data stream through the BlueMuse GUI.

*Note: if errors are encountered during viewing of the eeg data, try starting the viewer directly from the command line (muselsl view). Version 2 of the viewer may work better on Windows computers (muselsl view -v 2)

The basic steps of each experiment are as follows:

  1. Open an LSL stream of EEG data.
  2. Ensure that EEG signal quality is excellent and that there is very little noise. The standard deviation of the signal (displayed next to the raw traces) should ideally be below 10 for all channels of interest.
  3. Define subject and session ID, as well as trial duration. Note: sessions are analyzed independently. Each session can contain multiple trials or 'run-throughs' of the experiments.
  4. Simultaneously run stimulus presentation and recording processes to create a data file with both EEG and event marker data.
  5. Repeat step 4 to collect as many trials as needed (4-6 trials of two minutes each are recommended in order to see the clearest results)
  6. Load experimental data into an MNE Raw object.
  7. Apply a band-pass filter to remove noise
  8. Epoch the data, removing epochs where amplitude of the signal exceeded a given threshold (removes eye blinks)
  9. Generate averaged waveforms from all channels for each type of stimulus presented

Notebooks in the old_notebooks folder only contain the data analysis steps (6-9). They can be used by using the run_experiments.py script (e.g python run_eeg_experiment.py Auditory_P300 15 1)

Currently available experiments:

  • N170 (Faces & Houses)
  • SSVEP
  • Visual P300
  • Cueing (Kyle Mathewson)
  • Baseline (Kyle, Eye's Open vs. Closed, needs notebook made)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].