OVERVIEW
This folder contains four (4) files: three zipped folders, 'High Friction Model Active Motion Capture Data.zip', 
'Low Friction Model Motion Capture Data.zip', 'Standard Friction Model Passive Motion Capture Data.zip', and one
MATLAB script, 'SwingTestDataAnalysis.m'. 



ZIPPED FOLDERS
The zipped folders contain motion capture marker data of different
test trial in the MATLAB data format '.mat'. Each .mat file contains the data for a single trial and each folder
contains all of the trial data for a specific version of the prototype. The 'Standard Friction' folder contains
data from the original prototype version, the 'High Friction' folder contains data from the 1st Redesign version,
and the 'Low Friction' folder contains data from the final low friction version of the prototype.

The data from all three folders and prototype versions was presented in the Masters Thesis 'The Design and Proof-
of-Concept of the BERT Prosthesis', and only the data from the 'Low Friction' folder was presented in the 2021 EMBC
Conference Paper 'Proof-of-Concept Swing Assistance Testing for the BERT Prosthesis'.



MATLAB DATA FILES
Each of the .mat files is a structure consisting of eight (8) fields. Six of these fields contain meta data relevant
to the test conducted, and the other two fields 'Trajectories' and 'RigidBodies' contain the test data. The field
'RigidBodies' contains a 3D cooridnate for the center of the test block for each time step. This point is used to 
locate the plane of the ground in each timestep.

The field 'Trajectories' contains the position data for each motion capture marker for each timestep in the sub-field 
'Labeled'. In this data matrix, the data is organized by the following convention [Marker Number]x[3D coordinate,
residual]x[timestep], yielding a 10x4x500 matrix. The order of the markers is given in the sub-field 'Labels', and the 
order of the coordinates is [x (lateral-medial), y (anterior-posterior), z (proximal-distal)].



MATLAB SCRIPT FILE
This file processes the data from the .mat files, calcualtes the relevant metrics, plots the metric data, plots joint
angle profiles, and plots animations of the test. Plots can be turned on or off by setting the booleans in the first 
section to 1 or 0, respectively.

For proper functioning, the zip folders need to be extracted into the same folder as the MATLAB script. If the folder
names of the data are changed, they will need to be updated on line 30 of the script.

