Skip to content

This is a suite of python programs and example datasets for displaying graphs of EEG, ECG and respiration data recorded by the Muse headband and Vernier probe devices.

Notifications You must be signed in to change notification settings

davidtro/physiology-viewer

Repository files navigation

physiology-viewer

This is a suite of python programs and some example data files for displaying graphs and charts of EEG, ECG and respiration data recorded by the Muse headband and Vernier probe devices.

Visit: http://still-breathing.net/software for more details.

Program Files: Phys_Viewer.py This is the Physiology Viewer program. It needs to open the file EEG_CardioRespSessions.xls, which must be in the directory C:\MedRec. Data files *.h5 data files must also be in that same directory.

EEG_CardioRespSessions.xls This is an Excel file containing details about recording sessions (name of session, subject name, duration, names and start/end times of named intervals in the session, etc.) This particular file has only one row of example data, (index 60, rec33) to illustrate how session data is saved and displayed. The file MUST BE in the directory C:\MedRec.

EEG_generate_h5.py This is a file conversion program that starts with .CSV datafiles created by the Muse Player from data produced by the Muse headband. It writes into the current four .h5 files containing EEG data. The .CSV datafile MUST be in the directory C:\MuseRec.

Cardio_generate_h5.py This is a file conversion program that starts with .TXT files created by Logger Pro software from Vernier. It writes into the current directory two .h5 files containing respiration and electorcardiogram data. The .TXT datafile MUST be in the directory C:\MuseRec.

Cardiorespiratory and EEG data files generated for session #33:

rec33_breath.h5 time series of pressure values from the Vernier Respiration monitor

rec33_cardio.h5 time series of voltage values from the Vernier Electrocardiogram sensor

rec33_eeg.abs.h5 time series of EEG absolute power values from the Muse Headband

rec33_eeg.raw.h5 time series of raw EEG voltages from the Muse Headband

rec33_eeg.rel.h5 time series of EEG relative power values from the Muse Headband

rec33_eeg.user.h5 time series of EEG user data (jaw clench, blink, concentration, mellow) from the Muse Headband

musedata_daydreaming.csv (140s recording of raw eeg during daydreaming) musedata_meditation.csv (214s recording of raw eeg during zazen meditation) These files were recorded using the Muse headband and the Android app Muse Monitor by James Clutterbuck.

In both recordings, eyes were open. During daydreaming, eyes moved about a little; during meditation gaze remained fixed on a point in front of the subject. Jaw clench was used within the first 5 seconds of the start of the recording and 5s before the end for reference. Also, sequence of three eye-blinks were recorded 15 seconds after start and 15s before end of recording. Artifacts for jaw clench and eye blinks can be removed by truncating 20 seconds from the beginning and 20s from the end of the recordings.

First column is timestamp; columns 2-5 are Raw EEG values in microvolts, with a range [0:~1682]. Sensors are TP9 - Left ear, FP1-Left forehead, FP2-Right forehead, TP10-Right ear.

README.md This file.

About

This is a suite of python programs and example datasets for displaying graphs of EEG, ECG and respiration data recorded by the Muse headband and Vernier probe devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages