Skip to content

Commit f6b3432

Browse files
committed
Updated README and added video
1 parent d7fe1a5 commit f6b3432

File tree

4 files changed

+763
-12
lines changed

4 files changed

+763
-12
lines changed

README.md

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,35 @@
11
# kineticstoolkit_extensions
22
Additional modules and development of new features for Kinetics Toolkit
33

4-
This repository will replace the different repositories used for the current extension system. It will also be distributed via pip and conda, like kineticstoolkit.
4+
This package provides modules that are not included straight into kineticstoolkit because either:
55

6-
It will contain features that are deemed too specific for Kinetics Toolkit, but still useful in some use cases. It will also contain half-baked new features in development. The main objective for this method is to:
6+
1. Their use case is specific to one research area of human movement biomechanics (e.g., pushrimkinetics)
7+
2. They refer to unused or older hardware (e.g., n3d)
8+
3. They are in active development and their API is not stable enough to be distributed in their final form
9+
4. They are not neutral - for example, they may relate to assumptions on the human body, such as anthropometric tables or local coordinate systems based on bony landmarks.
710

8-
- reach a stable 1.0 version for Kinetics Toolkit while continuing developing new features with a clear separation between misc/development/testing (kineticstoolkit_extensions) and stable (kineticstoolkit)
9-
- ease the installation of extensions, without adding unnecessary friction both for developers and users (i.e. maintaining multiple repositories)
10-
- adopt continuous integration practices (i.e. unit tests) for extensions, like for kineticstoolkit
11+
To install:
12+
13+
```
14+
pip install kineticstoolkit_extensions
15+
```
16+
17+
or
18+
19+
```
20+
conda install -c conda-forge kineticstoolkit_extensions
21+
```
22+
23+
The published extensions all have unit tests so that they are continually tested and expected to work in future versions of Python.
24+
25+
26+
## Stable extensions
27+
28+
[pushrimkinetics](tutorials/pushrimkinetics.ipynb) - Allow reading and processing kinetics recorded by instrumented wheelchair wheels such as SmartWheel.
29+
30+
n3d - Allow reading n3d file from NDI Optotrak.
31+
32+
33+
## Currently in development
34+
35+
video - Will allow reading video files, synchronize those videos with other TimeSeries, and use the videos to add events to these TimeSeries. You need to install opencv to use this module.

kineticstoolkit_extensions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
import kineticstoolkit_extensions.n3d as n3d
2626
import kineticstoolkit_extensions.pushrimkinetics as pushrimkinetics
27-
27+
import kineticstoolkit_extensions.video as video
2828

2929
def __dir__():
3030
return ["n3d", "pushrimkinetics"]

kineticstoolkit_extensions/n3d.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
"""
20-
Provide a short description of your extension.
20+
Read NDI Optotrak N3D files.
2121
"""
2222

2323
__author__ = "Félix Chénier"
@@ -110,11 +110,7 @@ def read_n3d(filename: str, labels: Sequence[str] = []) -> TimeSeries:
110110
return ts
111111

112112

113-
"""
114-
The section below is optional. If you put code examples in your docstring,
115-
then running this file will test that your examples give the correct results.
116-
Please check https://docs.python.org/3/library/doctest.html for details.
117-
"""
113+
118114
if __name__ == "__main__": # pragma: no cover
119115
import doctest
120116

0 commit comments

Comments
 (0)