Project by Hamidreza Behbood, Arsalan Razavi and Karl Felix Schewe for the 2023 course Trajectory Analysis at the University of Münster.
Before you begin, ensure that you have Python 3.7 or newer installed on your system.
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment. This depends on your operating system:
-
Linux/macOS:
source venv/bin/activate -
Windows:
venv\Scripts\activate
More information can be found in the official documentation. In Visual Studio Code you can select the virtual environment by searching with
str+shift+pforPython: Select Interpreter. -
-
Install the required packages in the newly created virtual environment:
pip install -r requirements.txt
To run the program, execute the following command:
python src/main.pyIn the src directory you can find the package app which implements core functionalities for reading and analysing trajectories. Included in src are also scripts with examples for specific functions.
Functions can be imported like this:
from app.functions import *For running tests, just type:
pytest