Compute COM, XCoM (Hof), foot-landmark BoS polygon, and MoS using Visual3D-equivalent logic from C3D marker data (no force plate required).
Use this skill when you need to compute any of:
This skill is designed to work with the marker-set guidance from:
motive-marker-v3d-guidelineBefore running code, confirm you have:
perturb_inform.xlsm (recommended)If anthropometrics are not provided, you must request them. This project requires anthropometrics to generate BoS landmarks and XCoM.
Typical outputs per trial:
*_COM.csv (COM position)*_XCOM.csv (XCoM position)*_BOS_vertices.csv (BoS hull vertices per frame)*_MOS.csv (signed MoS time series)*_COM_validation.txt (correlation vs V3D COM export)Mirror the canonical V3D tutorial logic:
See references:
references/v3d-logic-summary.mdreferences/anthropometrics.mdmain.py)conda run -n module python main.py \
--c3d_dir /path/to/c3d_folder \
--event_xlsm /path/to/perturb_inform.xlsm \
--out_csv output/all_trials_timeseries.csv \
--overwrite
conda run -n module python scripts/run_batch_all_timeseries_csv.py \
--c3d_dir /path/to/c3d_folder \
--event_xlsm /path/to/perturb_inform.xlsm \
--out_csv output/all_trials_timeseries.csv \
--analysis_mode prestep \
--overwrite