-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IIR filter triggers a resample even if file is uniformly sampled #3919
Comments
@tkevinbest, thanks for reporting this issue. Would you mind posting a sample data file so we can create a minimum working example? |
The file is too big to upload, but I've shared it here: https://www.dropbox.com/scl/fi/7q9lcho6imbx7mbypurne/OpensimResampleTestCase.zip?rlkey=ajt3fxqzzw7w4t4ra31qq08hd&st=7x6w9uks&dl=0 |
Hi @nickbianco, just wanted to say that I tested the files and received two warnings in addition to the machine precision check reported by @tkevinbest:
Hope this helps. |
When selecting "filter input coordinates" in the ID tool, my IK data gets resampled even though it was output at a fixed frequency from the IK tool. The code here says it should only resample if the sampling is not uniform:
opensim-core/OpenSim/Common/Storage.cpp
Line 2370 in cbf9c74
I know that my data was resampled because it is a very long file, beyond the max size of the resampling function and thus my sampling rate drops substantially when resampling.
Version 4.5-2024-01-10-3b63585
The text was updated successfully, but these errors were encountered: