Skip to main content

Library for Traffic Analysis and Situation Interpretation

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tasi-0.11.0.tar.gz (50.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tasi-0.11.0-py3-none-any.whl (50.1 MB view details)

Uploaded Python 3

File details

Details for the file tasi-0.11.0.tar.gz.

File metadata

  • Download URL: tasi-0.11.0.tar.gz
  • Upload date:
  • Size: 50.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for tasi-0.11.0.tar.gz
Algorithm Hash digest
SHA256 9003c28619d2ec1aa16f72cceefc9906e572fffbabc9156f2b2ed4951d8d7fc1
MD5 e0bdce08d8d2659fbabc0e52e38d2256
BLAKE2b-256 110340bda86783c60c1d59f821608af9b46cd4a4e10715babe252c7ff1ff201f

See more details on using hashes here.

File details

Details for the file tasi-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: tasi-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 50.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for tasi-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40e11e6eff02aa884fc9faca12ac485fb170d52fd43757c7f7c6648122dd515c
MD5 a0a0480d3ebdf0b6c1619f6a3a11973c
BLAKE2b-256 779c9c4225b05782b78aa8f076900634f9e89c4ce79fb2b2aea8f978f0c54062

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page