Skip to main content
Version: 0.0.98

ts_shape.signals

Signal semantics: specs, inference and spec-driven primitives.

Describe each signal once -- what kind of value it carries, how it is encoded, how often it is sampled and when a gap means "no data" -- and let the primitives handle counters, intervals, time weighting and alignment correctly::

from ts_shape.signals import infer_specs

specs = infer_specs(df, overrides={"line1:parts": {"unit": "pcs"}})
specs.to_frame()

:func:identify_objects reports which signals carry object identifiers (serials, batches, orders, carriers, tools, ...) and their type, from the values alone.