# Kinetics Toolkit#

*An Open-Source Python Package to Facilitate Research in Biomechanics*

```
import kineticstoolkit.lab as ktk
markers = ktk.read_c3d("filename.c3d")["Points"]
ktk.Player(markers, interconnections=interconnections)
```

Kinetics Toolkit is an open-source Python package to facilitate research in biomechanics. It provides tools for:

Analyzing timeseries, including data, time and event management, time-domain and frequency-domain noise filtering, and cycle management;

Managing files, including reading/writing C3D, CSV and any file supported by Pandas;

Performing rigid body geometry operations, including manipulation of series of points, vectors, frames and homogeneous transforms, coordinate system changes, and 3D angle extraction;

Performing kinematic operations such as reconstructing occluded, removed or probed markers;

And more using extensions.

It is a programming library, and programming can be hard for new users. Therefore, we also provide the free, electronic book Biomechanical Analysis using Python and Kinetics Toolkit, which guides new programmers from the basics to advanced, generic 3D biomechanical analysis. This book covers:

The Python programming language, including arithmetics, variables, numbers, strings, functions, conditions, lists, loops and dictionaries;

Matplotlib, to generate print-quality graphics and to analyze curves interactively;

NumPy basics, including n-dimensional arrays, arithmetics, trigonometry, infinity/nan, statistical functions, comparisons, logical operators, indexing, slicing and filtering arrays.

It also covers all the features of Kinetics Toolkit, with reproducible examples based on real, downloadable data.