COMPUTE THE LAG VALUES

Computes the lag (time-shift) of an input curve by a specified number of samples. Use this worker to shift a curve forward along its x-axis by a discrete integer number of steps, producing a delayed version of the original signal.

When to use

Classification: process.

Tagged: curve, delay, lag, signal, time-shift, transform.

Inputs

Label ID Type Default Required Description
Curve In curve_in vector   Input curve (x/y vector) to be lagged; accepts any time-history or signal curve from upstream workers.
Lag lag scalar 1   Integer number of samples by which to shift the curve forward along the x-axis; defaults to 1 (one-sample delay).

Outputs

Label ID Type Description
curve_lag_output_1 curve_lag_output_1 vector Lagged output curve (x/y vector) equivalent to the input curve shifted forward by the specified number of samples.

Disciplines

  • data.curve.transform
  • data.signal_processing

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curve_lag


Auto-generated from transformation schema. Worker id: curve_lag. Schema hash: 7a7eb991b3a8. Hand-curated docs in workerexamples/ override this page when present.