/inertia_tensors

a Python module for calculating inertia tensors for collections of n-dimensional points

Primary LanguageJupyter Notebook

Inertia Tensors

This package contains functions to calculate inertia tensors for collections of n-dimensional points.

Description

This package contains functions that calculate the:

  • standard inertia tensor
  • reduced inertia tensor
  • iterative reduced inertia tensor

Requirements

In order to use the functions in this package, you will need the following Python packages installed:

Installation

Place this directory in your PYTHONPATH. The various functions can then be imported as, e.g.:

from inertia_tensors import inertia_tensors

You can run the testing suite for this package using the pytest framework by executing the following command in the package directory:

pytest

contact: duncanc@andrew.cmu.edu