A package to process the trajectory data of public road user trajectory datasets.
Supplies trajdatamanager.datamanager.DataManager() as ageneral API to manage any trajectory dataset
of your choice. Several specific DataManagers are provided to manage specific datasets:
- (IMPTC dataset)[https://github.com/kav-institute/imptc-dataset]
- RTK GNSSS position data generated from (RTKLib)[https://www.rtklib.com/]
The package is under development. It may contain bugs and sections of unused or insensible code. Major changes to this package are planned for the time to come. A proper API documentation is still missing. Refer to docstrings for API documentation.
-
Install the package and it's dependencies. Refer to
pyproject.tomlfor an overview of the dependencies.cd ./trajdatamanger pip install .
-
example_filterrtkgnss:
Load a RTKlib GNSS tracks, rotate and extract only those going from left to right.
trajdatamanager.datamanager.Track()
A class describing the track (trajctories of kinematic states) of a traffic agent. Provides a large number of operations on the track like cropping, translating, rotating, determining overlap, interpolating, sampling, segmenting, and plotting. Holds track_id, vehicle_class and any additional metadata. Can be interfaced like a dictionary. Can be converted to dict or exported to csv.
trajdatamanager.datamanager.Sequence()
A collection of tracks trajdatamanager.datamanager.Track(). Provides a large number of (batch) operations on the tracks of the collection like cropping, translating, rotating, determining overlap, interpolating, sampling, segmenting, and filtering.
trajdatamanager.datamanager.DataManager()
Base class to manage trajectory datasets. Not designed to directly create instances. Used to base datamanagers for specific datasets in the fashion demonstrated by trajdatamanager.datamanager.ImptcManager() and trajdatamanager.datamanager.RTKLibGNSSManager()
trajdatamanager.datamanager.ImptcManager(DataManager)
Class to manage trajectories from the IMPTC dataset. Load individual tracks or sequences of tracks.
trajdatamanager.datamanager.ImptcManager(DataManager)
Class to manage trajectories generated by RTKLib. Load individual tracks or sequences of tracks.
Helper functions.
- Christoph M. Konrad, [email protected]
This package is licensed under the terms of the MIT license.