Hello,
Thanks in advance for all the help you have provided me.
I have another question. I am running on my computer the code example_gait_analysis.py.
My data comes from treadmill session, but there is no way to put the treadmill speed in the settings.
When I get the gait speed it is underestimated.
Is there a way to put the treadmill speed in gait_analysis.py or somewhere else? and probably this will help as well to get more accurate results in the other gait metrics?
session: bc977b98-e6ef-4382-871e-5fee7856c873
trial : cs_5mh
Thanks a lot!
Juan Pablo
Treadmill speeds on gait analysis.
- Juan Pablo García Muñoz
- Posts: 6
- Joined: Mon Oct 03, 2022 11:28 am
- Scott Uhlrich
- Posts: 124
- Joined: Tue Jan 20, 2015 4:29 pm
Re: Treadmill speeds on gait analysis.
We estimate treadmill speed from marker positions at different points in the gait cycle here. https://github.com/stanfordnmbl/opencap ... is.py#L208
Try dropping a breakpoint in that function to see what is going on.
We verified it on a couple sessions and it was within .05m/s of the treadmill speed.
Try dropping a breakpoint in that function to see what is going on.
We verified it on a couple sessions and it was within .05m/s of the treadmill speed.
- Juan Pablo García Muñoz
- Posts: 6
- Joined: Mon Oct 03, 2022 11:28 am
Re: Treadmill speeds on gait analysis.
Thank you Scott.
I saw on your example and your paper that it was very accurate. I believe the error comes because I am analyzing a quite different gait pattern. Actually I have another error telling me the gait events are not in the correct order. But it should be because of the gait adopted.
I will try to modify that piece of code and I'll let you know if it works.
best regards!!
JP.
I saw on your example and your paper that it was very accurate. I believe the error comes because I am analyzing a quite different gait pattern. Actually I have another error telling me the gait events are not in the correct order. But it should be because of the gait adopted.
I will try to modify that piece of code and I'll let you know if it works.
best regards!!
JP.
- Antoine Falisse
- Posts: 439
- Joined: Wed Jan 07, 2015 2:21 am
Re: Treadmill speeds on gait analysis.
Thanks, keep us posted. Antoine