WESAD Dataset
Table of contents
Overview
Item | Details |
---|---|
Links | Dataset, Publication |
Signals | PPG, ECG, resp, accel, others |
No. Subjs | 15 |
Protocol | Recordings at baseline and during amusement, stress and meditation |
Importing the data into MATLAB
I took the following steps to import the WESAD dataset to MATLAB:
- Download the data from here (as stated here).
- Download the
convert_subject_pickle_files_to_mat.py
python script. - Copy the subject’s .pkl file to the same folder as this python script.
- Run the python script to convert the .pkl file into a MATLAB file. (I used Spyder - a Python program - through Anaconda-Navigator.)
- Copy this MATLAB file back to the same folder as the .pkl file was obtained from.
- Download the
collate_ppg_dalia_dataset.m
MATLAB script. - Modify the MATLAB script by inserting the
up.paths.root_folder
andup.paths.save_folder
into thesetup_up
function. - Run the MATLAB script to collate all the individual MATLAB files into a single MATLAB data file, ready for analysis.