Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
data
LSLHandoff.py
README.md
analyze_data.ipynb
collect_tools.py
ganglion-lsl.js
lsl-viewer.py
package.json
record_data.ipynb
requirements.txt

README.md

Lab 9: Measuring brain response to different smells

Introduction

In this lab, we will record the different brain responses to various smells. We're particularly interested in alpha (8-13Hz) and beta waves (13-20Hz), but other ones may show up as well.

Setup

First, install the libraries (there are new python dependencies this time!):

npm install
pip install -r requirements.txt

(If you don't have npm, you can install by running brew install node. You can get brew from https://brew.sh/)

Stimulus Presentation + Recording

  • Attach electrodes to participant's head, 2 on the frontal cortex (on forehead) and 2 on temporal lobe (right above the ears).
  • Connect to the ganglion and stream data: node ganglion-lsl.js
  • Run lsl-viewer to check connections and stream: python lsl-viewer.py
  • Record data by opening the record_data.ipynb notebook

Analysis

  • Open analyze_data.ipynb notebook
  • Replace the filenames at the beginning with your filenames
  • Run it and see the effects!