Search found 6 matches

by Marlies Nitschke
Mon Nov 15, 2021 7:46 am
Forum: OpenSim
Topic: [BUG] time gets filtered in ID
Replies: 6
Views: 1074

Re: [BUG] time gets filtered in ID

Hi Ziyu, I totally agree with you that none of the solutions are perfect. I don't want to start here now a discussion about filtering, but did you try to use a residual analysis to determine the proper cut-off frequency for your data? And did you adapt the cut-off frequency to the fact that a dual p...
by Marlies Nitschke
Wed Nov 10, 2021 7:04 am
Forum: OpenSim
Topic: [BUG] time gets filtered in ID
Replies: 6
Views: 1074

Re: [BUG] time gets filtered in ID

Hi Ziyu, I totally agree with your arguments on why it has to be the time stamp being wrong. However, I do not fully agree with your solution method to filter after the ID. There are two main reasons for that: 1. Filtering with IIR filters will always introduce some edge effects. Hence, I recommend ...
by Marlies Nitschke
Wed Nov 10, 2021 3:07 am
Forum: OpenSim
Topic: [BUG] time gets filtered in ID
Replies: 6
Views: 1074

Re: [BUG] time gets filtered in ID

Hi, I also encountered that the ID result (.sto) has different time stamps compared to the IK result (.mot). I always thought that this might occur from the different sampling frequencies in the kinematics and forces. Thanks for looking deeper into it and finding out that it comes from the filtering...
by Marlies Nitschke
Thu Oct 28, 2021 12:35 am
Forum: OpenSim
Topic: C3d Adapter - manipulating TimeSeriesTableVec3 in API
Replies: 3
Views: 703

Re: C3d Adapter - manipulating TimeSeriesTableVec3 in API

Hi Mohammadreza, thanks a lot for your help. That looks very useful. It was not obvious to me that the trajectories are called dependent columns. I am already using OpenSim 4.3 API (GetVersion(): 4.3-2021-08-27-4bc7ad9). I read in another post, that there should be Nans already, but I do not know wh...
by Marlies Nitschke
Wed Oct 27, 2021 6:27 am
Forum: OpenSim
Topic: C3d Adapter - manipulating TimeSeriesTableVec3 in API
Replies: 3
Views: 703

Re: C3d Adapter - manipulating TimeSeriesTableVec3 in API

Hi, I made some progress in the meantime which might also be interesting for some of you. Unfortunately, missing marker data cannot always be avoided. I implemented a function in the class osimC3D to replace [0, 0, 0] by [nan, nan, nan] for missing markers since at least the OpenSim scaling can deal...
by Marlies Nitschke
Mon Oct 25, 2021 4:05 am
Forum: OpenSim
Topic: C3d Adapter - manipulating TimeSeriesTableVec3 in API
Replies: 3
Views: 703

C3d Adapter - manipulating TimeSeriesTableVec3 in API

Hi, I am loading a osimC3D object with marker and force data from a c3d-file within Matlab: osimc3d = osimC3D(fileName, 1); markers = osimc3d.getTable_markers(); forces = osimc3d.getTable_forces(); The variables markers and forces are TimeSeriesTableVec3 and TimeSeriesTable, respectively. I would no...