Commit c03fbab
1.8.0 — group QoM returns a different number, and the old one was confounded (#364)
`group_qom`, `pose_qom` and `normalized_qom` are re-exported from `micromotion`,
which released 1.0.0 today. They averaged over every marker at every frame while
the underlying `band_limited_qom` interpolates gaps, so an occluded marker
contributed a near-zero speed and still counted in the divisor. The result
tracked how much the cameras saw rather than how much the body moved: 16 to 17
per cent low on a realistic dropout pattern, with the speed series correlating
up to +0.70 with the per-frame count of visible markers.
The new default, `normalize="visible"`, excludes each marker at the frames where
that marker was absent. Pass `normalize="worn"` to reproduce a figure published
with an earlier release, and say which you used. Clean pose data with no
dropouts is unaffected; occluded mocap is affected most.
The `micromotion` floor is now `>=1.0.0`. That is a correctness floor rather
than a documentation one: below it the re-exported function returns the
confounded number.
All 545 tests pass against micromotion 1.0.0 unchanged, which also means none of
them covered the behaviour that changed.
Claude-Session: https://claude.ai/code/session_01Qx7SWwc4XGYgXNNKrcNAgP
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 01ac394 commit c03fbab
3 files changed
Lines changed: 34 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
10 | 29 | | |
11 | 30 | | |
12 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
19 | 28 | | |
20 | 29 | | |
21 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments