COMPUTE THE Y-DIFFERENCE COMPARED TO THE PREVIOUS POINT¶
Computes the point-to-point y-difference for each input curve, replacing each y-value with the difference relative to its preceding point (i.e., a discrete first-difference along the y-axis). Use this worker to convert cumulative or raw signal data into incremental step changes.
When to use¶
Classification: process.
Tagged: curve-transform, delta, difference, discrete-difference, incremental, point-to-point.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves In | curves_in | vector | — | One or more input curves (x/y vector pairs) on which the discrete y-difference will be computed; each curve’s y-values are replaced by the difference from the previous point. Accepts multiple curves. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_difference_output_1 | curve_difference_output_1 | vector | Output curve(s) where each y-value represents the difference between the current and the preceding input y-value; the first point typically carries a difference of zero or the original value depending on boundary handling. |
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=curves_difference
Auto-generated from transformation schema. Worker id: curves_difference. Schema hash: d813cf56ad7c. Hand-curated docs in workerexamples/ override this page when present.