Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ Install ``TASI`` from the PyPi registry.
pip install tasi
```

### Project Architecture
- `tasi.pose`: single object pose/timepoint representation
- `tasi.trajectory`: ordered trajectory sequences of poses
- `tasi.dataset`: multi-entity dataset collections and filtering
- `tasi.io`: conversion to/from pydantic models and ORM
- `tasi.dlr`: dataset download manager for DLR datasets

### Contribution and Branching
1. Fork the repository and create a feature branch:
`git checkout -b improvements/<topic>`
2. Add tests for new behavior under `tasi/tests`
3. Run tests: `pytest`
4. Open a PR and link to related issues

Download the latest DLR-UT version for demonstration purpose.
```python
from tasi.dlr import DLRUTDatasetManager, DLRUTVersion,
Expand Down
6 changes: 6 additions & 0 deletions tasi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
"""TASI - Traffic Situation Analysis and Interpretation.

This package exposes core traffic data structures and analysis tools for
trajectories, poses, and datasets. It initializes the default logger on import.
"""

from . import _version
from .dataset import *
from .pose import *
Expand Down
5 changes: 5 additions & 0 deletions tasi/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@


class TimestampMixin:
"""Mixin that adds timestamp-based indexing and selection helpers.

This mixin expects a pandas object with a timestamp index level named
`TIMESTAMP_COLUMN` and provides convenience methods such as `att`.
"""

TIMESTAMP_COLUMN = "timestamp"

Expand Down