Page 1 of 1

Kinetics sampling/analysis frequency

Posted: Thu Feb 22, 2024 8:00 pm
by hvanwerkhoven
Hi there,

We collected data using Opencap at 240 Hz. The MarkerData file (*.trc) shows this 240 Hz sampling rate, and so does the OpenSimData Kinematics file (*.mot). However when we then run a kinetics analysis (to estimate GRF using code created similar to example_kinetics.py) our results (in OpenSimData Dynamics) *.mot file shows a sampling frequency of 100 Hz. Is this correct - does the sampling/analysis frequency change as output of the kinetics simulation?

I would appreciate your feedback!

Regards,
Herman

Re: Kinetics sampling/analysis frequency

Posted: Fri Feb 23, 2024 9:32 am
by antoinefalisse
Hi Herman,

You can select the mesh density of your simulation: see here https://github.com/stanfordnmbl/opencap ... #L140-L142 and here https://github.com/stanfordnmbl/opencap ... mAD.py#L84. The finer the mesh the larger the problem and the longer it will take to solve. But it might be more accurate.

Best,
Antoine