Skip to content

Commit 5fdaa99

Browse files
committed
Add data download info to README and set to gait cycle 0.
1 parent bbcb1b8 commit 5fdaa99

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

README.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,19 @@ Change back into the project repository::
3434

3535
cd ../gait-closed-loop-id
3636

37+
Data
38+
====
39+
40+
There is sample data in the ``data/`` directory for tracking but you can use
41+
data we collected by downloading this `sample file
42+
<https://drive.google.com/file/d/1rsBbDih0fqa8v14fmY7__Ss01eaY7Ol9/view?usp=sharing>`_
43+
[16Mb], unzipping it, and placing the CSV file into the ``data/`` directory.
44+
This is sample data from trial 20 from:
45+
46+
Moore JK, Hnat SK, van den Bogert AJ. 2015. An elaborate data set on human gait
47+
and the effect of mechanical perturbations. PeerJ 3:e918
48+
https://doi.org/10.7717/peerj.918
49+
3750
Run
3851
===
3952

src/solve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
if os.path.exists(DATAPATH):
3838
# load a gait cycle from our data (trial 20)
3939
duration, walking_speed, num_angles, ang_data = load_sample_data(
40-
num_nodes, gait_cycle_number=2)
40+
num_nodes, gait_cycle_number=0)
4141
else:
4242
# load normal gait data from Winter's book
4343
duration, walking_speed, num_angles, ang_data = load_winter_data(num_nodes)

0 commit comments

Comments
 (0)