Locomotion kinematics analysis
Project description
Kino
Kino
is a python package to compute and analyze locomotion kinematics from 2D animal tracking data. This is currently still under development and is thus not ready for use yet.
Installation
pip install kino
Basic concepts
The scripts
folder containtes .py
files illustrating single concepts in kino
while docs
contains jupyter notebooks explaining these concepts more in details (work in progress)
Animal
- docs not ready -
Geometry
Kino.geometry
contains code to intuitively represent and manipulate geometric entiteis such as trajectories and vectors.
Trajectory
A kino.geometry.Trajectory
object stores a set of XY
coordinates denoting the position of e.g. a tracked body part over time. Trajectory
can compute kinematics variables such as:
- velocity vector
- acceleration vector
- tangent direction vector
- normal direction vector
- curvature
- angle
- speed
- angular velocity
- angular acceleration
and can optionally perform smoothing over these variables.
Some of the kinematics variables are scalar, while others are (two dimensional) vector quantities. These are represented by the kino.geometry.Vector
class.
Vector
The kino.geometry.Vector
class represents a 2D vector (or a sequence of 2D vectors, e.g. the velocity vector over a sequence of frames). It implements methods that you would expect to perform operations on vectors (vectors addition and scalar multiplication) and other convenient methods (e.g. to get the vector magnitude or angle as well as the dot
product between vectors).
Locomotion
- docs not ready -
Draw
Code to facilitate plotting of kino
elements such as geometric object, Animal
and Locomotion
.
- docs not ready -
Animate
Code to create smooth animations from kinematics data.
- docs not ready -
Development
Kino
is still very much under active development and it will be so for the next few months. For more information, or if you'd like to contribute, get in touch.
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 kino-0.0.1.tar.gz
.
File metadata
- Download URL: kino-0.0.1.tar.gz
- Upload date:
- Size: 28.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 957bc57593f17ef9ff2621eb204bf4bcc69f63cfd5213139785cf4cc7f6c531b |
|
MD5 | dd95b08a051006c85be2acf65291908b |
|
BLAKE2b-256 | 3d3cf70ed165e045bc74892a947dac179f1da28bdc19daa2482a71266be46d27 |
File details
Details for the file kino-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: kino-0.0.1-py3-none-any.whl
- Upload date:
- Size: 38.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 663309461b0ddb7cf0b2cb7a8b0556fed3afbc0b2855b730afc6fc019c12d063 |
|
MD5 | c24e0d55233f7931cf8d954fef63c066 |
|
BLAKE2b-256 | aa610025c06e6151e9662e3f1d6d3e11c30f287ebe032e207c305a535dd97324 |