Page 1 of 1

C3d Event Read Write

Posted: Wed May 15, 2024 12:28 am
by anboen
Dear forum,

First of all, I'd like to thank the creator for the amazing work and effort put into the OpenSim API.

I have a question regarding the use of OpenSim-Python as a comprehensive library for our gait processing pipeline in Python. Using OpenSim-Python, we are able to go through almost all the steps, except for those involving gait events.

How can I extract gait events using the Python wrapper of the OpenSim core?

Thanks in advance for your answers.

Best regards,
Andre

Re: C3d Event Read Write

Posted: Fri May 24, 2024 4:17 pm
by ongcf
OpenSim does not have an automated way to extract gait events. You can use the Python API to open any relevant kinematic and kinetic data you may have, and then perform any post-processing steps to systematically detect these events for your dataset (e.g., location of the feet or when the force from a force plate passes some threshold).