DDA Packages
Implementation libraries for Python, Rust, and Julia
dda-py
Python Wrapper for Delay Differential Analysis
Overview
dda-py is the official Python wrapper of Delay Differential Analysis. This package provides tools for time series classification using delay differential equations.
Installation
pip install dda-py
Quick Start
import dda_py
# Initialize with APE binary path
dda_py.init("./run_DDA_AsciiEdf")
# Run DDA analysis
Q, output_path = dda_py.run_dda(
input_file="data.edf",
channel_list=["1", "2", "3"]
)
print(f"Result shape: {Q.shape}") # channels × time windows
Using DDARunner Class
from dda_py import DDARunner
runner = DDARunner("./run_DDA_AsciiEdf")
Q, output_path = runner.run(
input_file="data.edf",
channel_list=["1", "2", "3"],
bounds=(1000, 5000), # Optional time bounds
cpu_time=True # Enable CPU timing
)
Links
Features
- Time series classification using delay differential equations
- Efficient NumPy-based implementation
- Compatible with scikit-learn pipelines
- Comprehensive documentation and examples