This package contains functions to calculate inertia tensors for collections of n-dimensional points.
This package contains functions that calculate the:
- standard inertia tensor
- reduced inertia tensor
- iterative reduced inertia tensor
In order to use the functions in this package, you will need the following Python packages installed:
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