DeTime

DeTime is a time-series decomposition Python package and CLI software contract for trend, oscillation, residual, method-specific components, and metadata across univariate and aligned multichannel decomposition workflows.

DeTime logo

Scientific toolkit / software contract

Decompose time series with reusable outputs.

One interface for trend, oscillation, residual, and metadata.

Give DeTime one series or aligned multichannel data. It returns trend, seasonal or oscillatory structure, residuals, method-specific components, and metadata through the same Python and CLI interface.

validated
DeTime Overview Decompose Components Diagnose Export
STL Decomposition Python and CLI time-series decomposition
Observed
Trend
Seasonal
Residual
Decomposition complete
Observed
Trend
Residual
  • Python and CLI entrypointsStable commands for decomposition runs.
  • Core method supportSSASTDSTDRMSSA
  • Published examplesReal stdout, plots, and saved artifacts.
  • Schemas and metadataJSON schemas and method shortlists for automation.
Canonical import: detime Distribution: detime-toolkit Core methods: SSA / STD / STDR / MSSA Schemas, metadata, and exportable artifacts

Why DeTime exists

Reason for the tool

A stable software contract for time-series decomposition.

DeTime exists because decomposition work often moves between notebooks, method-specific wrappers, CLI scripts, and machine-facing automation. The package keeps the method choice flexible while preserving one Python/CLI surface and one result contract.

Different decomposition methods expose different interfaces One decompose() entrypoint
Results are hard to compare One DecompResult for trend, season, residual, components, and meta
CLI and Python workflows often split One DecompositionConfig model across Python and CLI usage
Automation needs compact outputs Schemas, metadata shortlists, and compact result views

Data in, components out

Workflow

Data in, components out

DeTime keeps the user-facing contract stable while the method underneath can change. The same shape of result comes back whether you start with a single series or an aligned multichannel panel.

1D series or aligned 2D panel DecompositionConfig(method, params) decompose(...) or detime run trend, season, residual, components, metadata
Input 1D series or aligned 2D panel
Config DecompositionConfig(method, params)
Run decompose(...) or detime run
Output trend, season, residual, components, metadata

Getting Started

Applications

These examples show how the same decomposition interface can be used in larger workflows. They are application documentation, not the core maintained package claim.

Core Reference

Workflow Examples

Advanced / Review