Skip to main content

A library for temporal analysis of trajectories.

Project description

TanaT

Temporal Analysis of Trajectories

PyPI version CI codecov

TanaT is a powerful Python library designed for advanced temporal sequence analysis, with specialized focus on patient care pathways and complex temporal data structures (trajectories).

Stay Updated

Subscribe to our newsletter to get updates, release notes, and example notebooks straight to your inbox!

What Makes TanaT Different

TanaT bridges the gap between traditional time series analysis and complex temporal sequence modeling by offering:

  • Expressive Data Representation: Handle event sequences, interval sequences, and state sequences with unified APIs
  • Advanced Distance Metrics: Specialized metrics for temporal data including DTW, edit distance, and custom metrics
  • Flexible Clustering: State-of-the-art clustering algorithms adapted for temporal sequences and trajectories
  • Extensible Architecture: Modular design allowing easy integration of new methods and metrics

Core Capabilities

Data Structures

  • Event Sequences: Point-in-time events with rich feature descriptions
  • Interval Sequences: Time-spanning events with overlapping support
  • State Sequences: Continuous state representations with temporal transitions
  • Trajectories: Multi-dimensional temporal data combining multiple sequence types

Analysis Methods

  • Distance Computation: Dynamic Time Warping, Edit Distance, Longest Common Subsequence, and more
  • Clustering: Specialized algorithms for grouping similar temporal patterns
  • Filtering & Selection: Advanced criteria-based data selection and manipulation
  • Visualization: Comprehensive tools for temporal data exploration
  • Survival analysis: Streamline the preparation of survival targets and time-to-event data

Scientific Foundation

TanaT draws inspiration from established frameworks:

  • TraMineR (R): State sequence analysis methodologies
  • aeon & tslearn: Time series analysis best practices

Architecture Overview

TanaT provides a comprehensive suite of interconnected modules for end-to-end temporal sequence analysis:

Feature Description
Simulation Easily generate synthetic data to explore the framework's features
Visualization Explore and interpret temporal sequences through rich visual representations
Data Wrangling Manipulate, filter, and transform temporal data with flexible operations
Survival Analysis Integrate time-to-event modeling and survival techniques
Metrics & Clustering Apply specialized distance metrics and clustering algorithms for temporal data
Workflow Orchestration Organize your analysis, ensuring reproducible code and modular pipelines

Resources

Citation

If you use TanaT in your research, please cite:

@inproceedings{tanat2025,
title={Towards a Library for the Analysis of Temporal Sequences},
authors={Thomas Guyet and Arnaud Duvermy},
booktitle={Proceedings of AALTD, ECML Workshop on Advanced Analytics and Learning on Temporal Data},
year={2025},
pages={16}
}

Affiliation & Support

TanaT is actively developed within the AIstroSight Inria Team.

The development has been supported by:

  • 2024-2025: AIRacles Chair (Inria/APHP/CS)
  • 2025-present: PEPR/SafePaw project (Government funding managed by the French National Research Agency under France 2030, reference number ANR-22-PESN-0005)

Team

Core Development Team

  • Arnaud Duvermy - Architecture & Core Development
  • Thomas Guyet - Project Leadership & Research Methods

Contact: TanaT


TanaT is open source software designed to advance temporal sequence analysis in research and industry applications.

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

tanat-0.10.3.tar.gz (559.8 kB view details)

Uploaded Source

Built Distribution

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

tanat-0.10.3-py3-none-any.whl (336.7 kB view details)

Uploaded Python 3

File details

Details for the file tanat-0.10.3.tar.gz.

File metadata

  • Download URL: tanat-0.10.3.tar.gz
  • Upload date:
  • Size: 559.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for tanat-0.10.3.tar.gz
Algorithm Hash digest
SHA256 2e054f75de80d11d171071e587cf0f1883a6ca644a9fdd6dfe766639324a6c55
MD5 6188423b0ecf2e5daca19e6207b2bdd9
BLAKE2b-256 7dee03538d2c403280ba21713db49c030930eb17863d50f68da867c6e818d144

See more details on using hashes here.

File details

Details for the file tanat-0.10.3-py3-none-any.whl.

File metadata

  • Download URL: tanat-0.10.3-py3-none-any.whl
  • Upload date:
  • Size: 336.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for tanat-0.10.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aafd6cecf95353c62d5437b8168525b902ed40111e5918e4ab4009f10eaa1285
MD5 183ffd1a3b3356cb66fe1adeb5a3678e
BLAKE2b-256 dd7b5fde785784a10ee4eeb9cecaa803302ac023794ffdfd21730387626fdc61

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