-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
Laura Schoenhals edited this page Sep 24, 2024
·
6 revisions
Pre-requisites:
- obtain smr files, 1 file per trial (h5 work, can skip step 1 if you have these)
- obtain csv files with swing & stance times (sometimes these are referred to as phase files)
- set up directory structure with the trial data
Steps:
- convert smr to h5 with batch_convert.py
- input which directories you want processed
- creates h5 sub directories
- in locoproc environment, use locoproc repository to correct knee angle based on tibia & femur lengths
- in virtual environment for locomotion-analysis, run 'run_everything.py'
Explanation of run_everything.py:
- run step_table_initialize.py on each group
- input directory containing h5 files
- input directory containing csv files (phase files)
- see "About step_table"
- default statistics calculated in table for each step:
- step duration
- stance duration
- swing duration
- animal_avgs
- calculates avg stats for each trial
- group_comparison
- calculate stats on the avgs
- calculate stats ANOVA