COMPUTE THE Y-DIFFERENCE COMPARED TO THE PREVIOUS POINT

Computes the point-to-point y-difference of a curve, replacing each y-value with the difference between it and the previous point’s y-value. Use this worker to convert a cumulative or integrated signal into its incremental (delta) form.

When to use

Classification: process.

Tagged: curve, delta, difference, incremental, point-to-point, transform.

Inputs

Label ID Type Default Required Description
Curve In curve_in vector   Input curve (x/y vector) on which the point-to-point y-difference will be computed; the first output y-value is typically zero or the first raw value since there is no preceding point.

Outputs

Label ID Type Description
curve_difference_output_1 curve_difference_output_1 vector Transformed curve with the same x-values as the input but y-values replaced by the difference between each point and its predecessor (Δy = y_i − y_{i−1}).

Disciplines

  • data.curve.transform

Runnable example

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


Auto-generated from transformation schema. Worker id: curve_difference. Schema hash: 6113ad1ff7cd. Hand-curated docs in workerexamples/ override this page when present.