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

A Python package to convert a sequence of points in the XY space to another sequence of points in the Angle-Arc-Length (AAL) space.

License

Notifications You must be signed in to change notification settings

nbro/aal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Python package to convert a sequence of points in the XY space to another sequence of points in the Angle-Arc-Length (AAL) space.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages