Matlab scripts for "An Automated On-the-Go Unloading System Reduces Harvest Operator Stress Relative to Manual Operation"
**Script information**
-EDAwristband.m
-importEDAfile.m
-run_automated_EDAQA.m
These files are used to take raw data from an Empatica E4 wristband and calculate stressful events. See also Burgers and Vanderwerff (2022).
EDAwristband.m is the main processing script. File names and processing inputs need to be input in the first section. It outputs a .csv file with information about stressful events.
importEDAfile.m is a function EDAwristband.m calls to import the data .csv files
run_automated_EDAQA.m is a function EDAwristband.m calls to process the EDA data and assess the quality of the data. See Kleckner et al., 2017 for more details.
**Dataset information**
-A03CE6EDA20231018.csv
-A036A2EDA2023101916.csv
These are example raw EDA data files from the Empatica E4 wristband.
The data includes information about the time and EDA measurements.
**Dataset information**
-A03CE6EDA20231018p.csv
-A036A2EDA2023101916p.csv
These are example outputs of processed EDA from the two input csv files.
The table includes the following variables:
wristband ID, time of event, EDA and filtered EDA values, invalid points, valley, peak, stressful event magnitude (uS), stressful event duration (s), area under curve of stressful event (uS-s)