Skip to main content

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.

Metadata

Release files for TanaT 0.10.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TanaT 0.10.4
File Size Uploaded
tanat-0.10.4.tar.gz 495.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for TanaT 0.10.4
File Interpreter ABI Platform
tanat-0.10.4-py3-none-any.whl Python 3 none any Details

Total release size: 840.7 kB

Release files / tanat-0.10.4.tar.gz

Download URL tanat-0.10.4.tar.gz
Size 495.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9b2c4ce8fa2e196cd5021df250d3b058ff2227a8ea6a79afed1c356d11e6398d
BLAKE2b-256 checksum
How to use checksums
fd59c1fe7ef90255388ecf6c4363ba7cb5e89bbc59e907cf8cd2be98035acdc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Release files / tanat-0.10.4-py3-none-any.whl

Download URL tanat-0.10.4-py3-none-any.whl
Size 345.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6924a930f7d09a6fcaa4a234860a161879169896f101eeb4f70884b694c6f4d7
BLAKE2b-256 checksum
How to use checksums
dc11d80a587b032ded50334912095b499f000cd5a2c24636cdca096e5e4a3531
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.10.4 This release

2 release files

0.10.3

2 release files

0.10.2

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page