Skip to content

deepcharles/gait-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data sets for the study of human locomotion with inertial measurements units

The data provided in this repository are described in the following article:

  • Truong, C., Barrois-Müller, R., Moreau, T., Provost, C., Vienne-Jumeau, A., Moreau, A., Vidal, P.-P., Vayatis, N., Buffat, S., Yelnik, A., Ricard, D., & Oudre, L. (2019). A data set for the study of human locomotion with inertial measurements units. Image Processing On Line (IPOL), 9. [abstract] [doi] [pdf] [online demo]

Please cite this article whenever you want to make a reference to this data set.

A simple online exploration tool is available online. Data can be downloaded as a zipped archive (GaitData.zip, ~200MB):

Once extracted, the data can be read using the following code snippets (in Python, R). Be sure to execute those lines while in the same directory as the extracted GaitData folder.

Python

Signals are loaded into Pandas data frames. Please be sure to have it installed (pip install pandas).

from load_data import get_code_list, load_trial, load_metadata


# Load and manipulate all signals and metadata.
all_codes = get_code_list()
print("There are {} trials.".format(len(all_codes)))
for code in all_codes:
    signal = load_trial(code)  # pandas data frame
    metadata = load_metadata(code)  # dictionary
    # Do something.
    # ...

R

Be sure to set the working directory (with the function setwd) to wherever the data file has been unzipped. To read JSON files, the package jsonlite must be installed.

library("jsonlite")
code_list <- fromJSON("code_list.json")

for(code in code_list){
    signal <- read.csv(paste(code, ".csv", sep=""))
    metadata <- fromJSON(paste(code, ".json", sep=""))
    # Do something.
    # ...
}

About

Data sets of gait time series

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages