openmotionlabel 1.0.0rc1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- openmotionlabel/__init__.py +3 -0
- openmotionlabel/bridges/__init__.py +1 -0
- openmotionlabel/bridges/pycgm2/__init__.py +31 -0
- openmotionlabel/bridges/pycgm2/btk_compat.py +2802 -0
- openmotionlabel/bridges/pycgm2/client.py +273 -0
- openmotionlabel/bridges/pycgm2/discovery.py +140 -0
- openmotionlabel/bridges/pycgm2/service.py +267 -0
- openmotionlabel/bridges/pycgm2/worker.py +680 -0
- openmotionlabel/cli.py +1139 -0
- openmotionlabel/config.py +84 -0
- openmotionlabel/core/__init__.py +61 -0
- openmotionlabel/core/commands.py +996 -0
- openmotionlabel/core/history.py +79 -0
- openmotionlabel/core/project.py +149 -0
- openmotionlabel/core/state.py +481 -0
- openmotionlabel/core/tracklets.py +226 -0
- openmotionlabel/eval/__init__.py +32 -0
- openmotionlabel/eval/bodies.py +196 -0
- openmotionlabel/eval/dynamic_bench.py +270 -0
- openmotionlabel/eval/event_bench.py +204 -0
- openmotionlabel/eval/example.py +96 -0
- openmotionlabel/eval/fill_bench.py +216 -0
- openmotionlabel/eval/metrics.py +183 -0
- openmotionlabel/eval/static_bench.py +204 -0
- openmotionlabel/eval/synth.py +387 -0
- openmotionlabel/events.py +421 -0
- openmotionlabel/filters.py +127 -0
- openmotionlabel/forceplates.py +223 -0
- openmotionlabel/gapfill/__init__.py +45 -0
- openmotionlabel/gapfill/fill.py +205 -0
- openmotionlabel/gapfill/gaps.py +49 -0
- openmotionlabel/gapfill/methods.py +382 -0
- openmotionlabel/gapfill/planner.py +401 -0
- openmotionlabel/io/__init__.py +23 -0
- openmotionlabel/io/c3d_header.py +291 -0
- openmotionlabel/io/c3d_io.py +763 -0
- openmotionlabel/io/mkr_mp.py +87 -0
- openmotionlabel/io/processing_params.py +83 -0
- openmotionlabel/io/vsk.py +242 -0
- openmotionlabel/labeling/__init__.py +27 -0
- openmotionlabel/labeling/autolabel.py +285 -0
- openmotionlabel/labeling/consensus.py +144 -0
- openmotionlabel/labeling/dynamic_label.py +1153 -0
- openmotionlabel/labeling/pieces.py +106 -0
- openmotionlabel/labeling/static_fit.py +884 -0
- openmotionlabel/labeling/static_label.py +251 -0
- openmotionlabel/labeling/subject.py +303 -0
- openmotionlabel/labeling/template.py +738 -0
- openmotionlabel/markerset/__init__.py +23 -0
- openmotionlabel/markerset/library/_pig_upper.yaml +94 -0
- openmotionlabel/markerset/library/cgm11_lower.yaml +20 -0
- openmotionlabel/markerset/library/cgm1_kad_lower.yaml +22 -0
- openmotionlabel/markerset/library/cgm23_lower.yaml +30 -0
- openmotionlabel/markerset/library/cgm24_full.yaml +3 -0
- openmotionlabel/markerset/library/cgm24_lower.yaml +24 -0
- openmotionlabel/markerset/library/pig_full.yaml +3 -0
- openmotionlabel/markerset/library/pig_lower.yaml +74 -0
- openmotionlabel/markerset/match.py +57 -0
- openmotionlabel/markerset/schema.py +352 -0
- openmotionlabel/py.typed +0 -0
- openmotionlabel/server/__init__.py +6 -0
- openmotionlabel/server/app.py +608 -0
- openmotionlabel/server/session.py +837 -0
- openmotionlabel/server/uploads.py +204 -0
- openmotionlabel/web/assets/index-BwFhVoK7.css +1 -0
- openmotionlabel/web/assets/index-DVcC6VTC.js +4246 -0
- openmotionlabel/web/index.html +13 -0
- openmotionlabel-1.0.0rc1.dist-info/METADATA +115 -0
- openmotionlabel-1.0.0rc1.dist-info/RECORD +72 -0
- openmotionlabel-1.0.0rc1.dist-info/WHEEL +4 -0
- openmotionlabel-1.0.0rc1.dist-info/entry_points.txt +2 -0
- openmotionlabel-1.0.0rc1.dist-info/licenses/LICENSE +75 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Bridges to optional tools that run in their own environments (pyCGM2)."""
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""The optional pyCGM2 bridge: CGM checks, Kalman and PCA gap filling, more event detectors.
|
|
2
|
+
|
|
3
|
+
pyCGM2 runs in its own Python environment, as a child process (``worker.py``), and is never
|
|
4
|
+
needed to use OpenMotionLabel: without it, :meth:`PyCGM2Bridge.status` explains why it is
|
|
5
|
+
unavailable and how to set it up.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from openmotionlabel.bridges.pycgm2.client import (
|
|
9
|
+
TESTED_VERSIONS,
|
|
10
|
+
WORKER,
|
|
11
|
+
BridgeError,
|
|
12
|
+
BridgeTimeout,
|
|
13
|
+
BridgeUnavailable,
|
|
14
|
+
PyCGM2Bridge,
|
|
15
|
+
WorkerFailed,
|
|
16
|
+
setup_instructions,
|
|
17
|
+
)
|
|
18
|
+
from openmotionlabel.bridges.pycgm2.discovery import Discovery, discover
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"TESTED_VERSIONS",
|
|
22
|
+
"WORKER",
|
|
23
|
+
"BridgeError",
|
|
24
|
+
"BridgeTimeout",
|
|
25
|
+
"BridgeUnavailable",
|
|
26
|
+
"Discovery",
|
|
27
|
+
"PyCGM2Bridge",
|
|
28
|
+
"WorkerFailed",
|
|
29
|
+
"discover",
|
|
30
|
+
"setup_instructions",
|
|
31
|
+
]
|