Skip to content

DLR-TS/TASI

Repository files navigation

TrAffic Situation analysis and Interpretation

pypi DOI DLR-TS PyPI Downloads

TASI is a library to provide high-performance, easy-to-use data structures and data analysis tools for Python based traffic situation analysis and interpretation applications.

TASI is backed by those wonderful libraries Numpy, Pandas, and Numba

Getting started

Install TASI from the PyPi registry.

pip install tasi

Download the latest DLR-UT version for demonstration purpose.

from tasi.dlr import DLRUTDatasetManager, DLRUTVersion, 

dataset = DLRUTDatasetManager(DLRUTVersion.latest)
dataset.load()

and visualize the trajectories within the dataset using matplotlib.

from tasi.dlr import DLRTrajectoryDataset
from tasi.plotting import TrajectoryPlotter

import matplotlib.pyplot as plt

# load the first file of the dataset
ds_ut = DLRTrajectoryDataset.from_csv(dataset.trajectory()[0])

# plot the trajectories
f, ax = plt.subplots()

plotter = TrajectoryPlotter()
plotter.plot(ds_ut, ax=ax)

trajectory-example

About

Python Library for Traffic Analysis and Situation Interpretation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages