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 when a curve’s x-range is shorter than the merged grid: ‘no’ (default) — no extrapolation, values are dropped; ‘yes’ — standard 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.

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: b9c016f5b9a0. Hand-curated docs in workerexamples/ override this page when present.