Utilities for processing, computing, and analyzing joint kinematics.
Project description
Introduction
The biokinepy
library provides utilities for processing, computing, and analyzing joint kinematics - although at the moment it is not comprehensive. It aims to provide a starting point for creating a comprehensive Python library for analyzing motion capture datasets.
Installation
pip install biokinepy
Vision
biokinepy
processing starts with either skin marker trajectories or segment kinematics. It does NOT derive skin marker trajectories from videos, nor does it derive segment kinematics from biplane recordings. These tasks have already been implemented by other utilities, or are fulfilled by software supplied by the manufacturer (e.g. Vicon). What is missing in the Python ecosystem is a comprehensive library for analyzing motion capture datasets, which is where biokinepy
comes in. Tools such as Visual3D currently fulfill this function but 1) are not free, 2) are not open-source, 3) are inflexible, 4) are now outdated.
Current research efforts both within biomechanics and computer science community focus on new methods for:
- Filling occluded marker trajectories
- Attenuating the effect of soft tissue artefact
- Computing the center of rotation of joints from noisy data
- Filtering/smoothing marker trajectories and segment kinematics (not a trivial task since rotations do not form a vector space)
- Analyzing joint kinematic trajectories in terms of Euler angles, helical angles, etc.
The vision for biokinepy
is to provide a central library where all the aforementioned algorithms are implemented. This gives researchers the ability to:
- Implement custom motion capture processing pipelines by picking the algorithms they deem appropriate
- Compare and contrast the effects of various algorithms on their dataset
- Easily share new algorithms
The current version of biokinepy
is nowhere close to fulfilling the goals outlined above, but hopefully one day it (or another package) will.
Summary of current implementation
absor
- methods for computing the kinematics of a segment from the trajectories of the markers that were attached to it.cs
- methods for manipulating homogeneous transformation matrices.euler_angles
- methods for computing Euler angle trajectories from rotation matrices, currently only shoulder relevant Euler angle sequences have been implemented.filling
- methods for filling occluded skin marker trajectories, currently only rigid body filling is implemented.joint_center
- methods for computing the joint center of rotation from skin marker trajectories, currently only one method is implemented.segment_cs
- methods for establishing the anatomical coordinate of segments, currently only the International Society of Biomechanics scapula definition is implemented.mean_smoother
- mean smoother for position and orientation (using quaternions for averaging).np_utils
- set of utilities fornumpy
.trajectory
- a class that represents a rigid body trajectory and provides easy access to methods for analyzing the trajectory.vec_ops
- common vector operations.vel_acc
- code for computing (angular) velocity and acceleration from a rotation matrix trajectory.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file biokinepy-0.1.2.tar.gz
.
File metadata
- Download URL: biokinepy-0.1.2.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c17ec1a7ea496e52bed83e4ae522850cc04df1c4d89e71ee95ff7dbcb874723 |
|
MD5 | 0fdb2c5b90e85f101dfe677c004d23cd |
|
BLAKE2b-256 | 2fc968883e805e55c7fe7d628f81c3e1caf5645e62669340f56351b30e6695e6 |
File details
Details for the file biokinepy-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: biokinepy-0.1.2-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf0b07ef9111c352808ea0764e7dc9715b2945b946dde81046611d469156d9f8 |
|
MD5 | 7a5486d34d5b703da3cfd438bb6981ce |
|
BLAKE2b-256 | c406c64104d9788c47b8e6f53676f64552d563761a64faebab70a902a7252795 |