SYNC POINTS SUCH THAT ALL CURVES HAVE THE SAME X-VALUES¶
Synchronises a collection of curves so that every curve shares the same set of x-axis values, interpolating (and optionally extrapolating) y-values to the merged x-grid. Use this worker before any operation that requires point-for-point curve alignment, such as averaging, differencing, or batch comparisons.
When to use¶
Classification: process.
Tagged: curve_alignment, extrapolation, interpolation, sync_x, transformations, x_grid.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves In | curves_in | vector | — | Collection of one or more input curves (x/y vector pairs) to be synchronised onto a common x-grid; accepts multiple curves simultaneously. | |
| Extrapolate | extrapolate | scalar | no | Controls how y-values are computed for grid points OUTSIDE a curve’s own [xfirst, xlast] range: ‘no’ (default) — hold the boundary y flat (NOT a true drop); ‘none’ — no extrapolation, the grid point is omitted so a short curve stops at its last measured point (use this for DW-3083); ‘yes’ — standard linear extrapolation; ‘yes_min_zero’ — extrapolate but clamp minimum to zero; ‘yes_first_last_value’ — pad with the first/last known value; ‘constant’ — hold the boundary constant; ‘zero’ — pad with zeros. | |
| Number of Points | npoints | scalar | — | Number of equally-spaced points on the common x-grid spanning xmin=min(xfirst) to xmax=max(xlast) across all curves (e.g. 100). Leave BLANK to keep the legacy behavior (grid = union of all existing x-values). Ignored when Increment is set. | |
| Increment | increment | scalar | — | Spacing between points on the equally-spaced common x-grid; an alternative to Number of Points. Leave BLANK to use Number of Points (or the legacy union grid when both are blank). When set, takes precedence over Number of Points. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_sync_x_output_1 | curves_sync_x_output_1 | vector | The input curves remapped onto the unified x-grid, returned as a vector collection with identical x-values across all curves and interpolated/extrapolated y-values. |
Disciplines¶
- data.curve.pair
- 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_sync_x
Auto-generated from transformation schema. Worker id: curves_sync_x. Schema hash: 621c2198f55c. Hand-curated docs in workerexamples/ override this page when present.