Collection of scripts and notebooks to get you started with our sEEG data.
In this example, we use a single word speech experiment data set.
- Loads the xdf file
- Aligns the different streams (eeg, audio, experiment markers)
- Saves them into a numpy format
- Loads the numpy files
- Plots raw data and different band-passed signals
- Windows data and calculates the envelope
- Calculates ERPs
- Calculates Power spectrum
- Calculates spectrograms
- Loads the numpy files
- Calculates high gamma features
- Calculates logarithmic mel-scaled spectrograms
- Saves everything
- Loads the features from process_data
- Transforms spectrograms into binary labels (speech yes or no)
- Trains and evaluates LDA on the features in a k-fold cross-validation