Skip to content

chris-konrad/trajdatamanager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trajdatamanager - Import, partition and visualize trajectory datasets.

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:

Disclaimer

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.

Installation

  1. Install the package and it's dependencies. Refer to pyproject.toml for an overview of the dependencies.

    cd ./trajdatamanger
    pip install . 
    

Examples

  • example_filterrtkgnss:

    Load a RTKlib GNSS tracks, rotate and extract only those going from left to right.

Modules

datamanager

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.

utils

Helper functions.

Authors

License

This package is licensed under the terms of the MIT license.

About

Import trajectory datasets and process tracks.

Resources

License

Stars

Watchers

Forks

Languages