Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Latest commit

 

History

History
35 lines (20 loc) · 1.55 KB

README.md

File metadata and controls

35 lines (20 loc) · 1.55 KB

aal

The module aal.py contains a simple and illustrative implementation of the method presented in the paper Rotation Invariant Distance Measures for Trajectories (2004), by Michail Vlachos et al., to convert a sequence of points in the XY space to another sequence of points in the Angle-Arc-Length (AAL) space.

Installation

First, I recommend that you create a virtual environment, so that you don't pollute your global space. If you're using PyCharm, see their documentation on how to create it directly from the IDE.

Now, you can install this package with the following command

pip install -e .

You can omit -e if you don't need or want to see the effect of the changes that you make.

Examples

I've prepared 2 examples that illustrate the implemented method. You can find them inside the folder examples.

To execute one of them, run the corresponding module

python examples/example1.py

or

python examples/example2.py

If you get an error related to Qt or PyQt, you might need to install Qt first, because that's the backend that is being used by matplotlib in these examples. Alternatively, you can change the backend that matplotlib uses.