You need to download the data folders from google drive and unzip them into a folder called data/ that gets made in the instructions below in the main directory of strokeEEG once you clone the repo
to run on mac
First time:
cd ~
git clone https://github.com/kylemath/strokeEEG
cd strokeEEG
mkdir data
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python main.py
Future times:
cd ~/strokeEEG
source venv/bin/activate
git pull
python main.py
Other Scripts: main.py - computes spectra after dividing data into good and bad hemisphere by stroke location mainHemi.py - computes the spectra without considering stroke hemisphere plot.py - plots the output file saved by either of those two scripts
mainGoodBad.py - computes difference between good and bad hemisphere for each person plotGoodBad.py - plots those over sessions
plotRaw.py - loads in each subjects data and plots all of it for sanity check - can also plot the interval between time points to check sampling rate plotMNE.py - plots the raw data and spectra loaded into MNE for additional sanity check,