khaledsaab / eegvis

visualization functions for EEG in matplotlib and jupyter notebooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eegvis

  • work in progress to visualize EEG files in python
  • currently lots of experimentation - not ready for general consumption
  • goal is to provide portion of software infrastructure for EEG analysis

Scope of Project

  • functions to work with matplotlib to visualize EEG
  • functions to interactively plot EEGs in the jupyter notebook
  • web (bokeh) applications to browse and annotate EEGs

Status

  • currently this is still experimental, but it has a useful eeg browser for the jupyter notebook

  • basic filtering added, with notch and low-pass/high-pass filter

  • version 0.2.1 works with bokeh 2.0.2 !

install

jupyter nbextension enable --py widgetsnbextension --sys-prefix

To do

  • matplotlib EEG plotting (firstdraft)

  • basic bokeh EEG plotting (firstdraft)

  • basic montage EEG plotting, (firstdraft)

  • simple browsing EEG with bokeh in jupyter (firstdraft)

  • first filtering dropdowns added to nb browser tool

  • allow kwargs to set plot width and height

  • [/] notch and HF filters dropdowns - problem with ringing on current firwin filters

  • need scale/calibration bars

  • catch when current displayed data is not big enough to filter

  • add common avg reference montage (CAR)

  • remove cruft from plotting in various widgets

  • bokeh application to browse + annotate EEG, - still experimenting

  • montage parser/loader

  • keyboard responses, howto?

  • add ability to control scale of each electrode waveform individually

  • rewrite and package

  • publish

  • possible re-write/extend Bokeh for canvas widget

  • update to bokeh 1.0.x

  • tests for mpl_helpers

Other notes

Developer Install

currently this is developer only package

    git clone https://github.com/eegml/eegvis.git
    cd eegvis
    pip install -e .

jupyter notebook use

conda install ipywidgets conda install widgetsnbextension

jupyter lab use

jupyter labextension install jupyterlab_bokeh jupyter labextension install @jupyter-widgets/jupyterlab-manager

About

visualization functions for EEG in matplotlib and jupyter notebooks


Languages

Language:Jupyter Notebook 98.4%Language:Python 1.5%Language:TypeScript 0.1%Language:HTML 0.0%Language:CoffeeScript 0.0%