If you already have Python, you can install AHRS with:

pip install ahrs

This will download and install the latest stable release of ahrs available in the Python Package Index.

AHRS works with Python 3.6 or later, and depends on NumPy and SciPy. Intalling with pip will automatically download them if they are not present in your workspace.

A second option is to download the latest available version in the repository and install it manually:

git clone
cd ahrs/
python install

This is specially recommended if you want to have the latest version of the package.

Building the Documentation

To build documentation you will need Sphinx and the readthedocs theme.

cd docs/
pip install -r requirements.txt

You can then build the documentation by running make html from the docs/ folder to build the HTML documentation in the current folder. Run make to get a list of all available output formats.