Page 1 of 1

Filter analysis dashboard

Posted: Fri May 26, 2023 7:35 am
by stagepapendal
Dear,

I was wondering which filter is used when plotting for example Knee_angle (see attachment) on de analysis dashboard within OpenCap uitself?

I tried to find it using Google Colab and opening https://github.com/stanfordnmbl/opencap-processing.git, here it says it has already been filtered:
coordinates['values'][trial_name] = kinematics[trial_name].get_coordinate_values(in_degrees=True) # already filtered

Kind regards,

Jip

Re: Filter analysis dashboard

Posted: Sun May 28, 2023 11:52 pm
by antoinefalisse
Hi Jip,

Filtering is happening at the level of the 2D video keypoints before triangulation in opencap-core: https://github.com/stanfordnmbl/opencap ... ain.py#L55

It the trial is identified as a gait trial, then the video keypoints are filtered at 12Hz. Otherwise, the video keypoints are filtered at half the sampling frequency (eg, 30Hz when recording at 60Hz). There is no more filtering happening,

Best,
Antoine