SYNC POINTS SUCH THAT ALL CURVES HAVE THE FIRST AND LAST POINTS TO BE IDENTICAL¶
Synchronises the X-axis domain of a collection of curves so that all curves share identical start and/or end X values. Optionally extrapolates curve endpoints to reach the common boundary, making this worker essential before any multi-curve arithmetic or comparison that requires a uniform X range.
When to use¶
Classification: process.
Tagged: curve_alignment, extrapolation, multi_curve, start_end, sync, x_domain.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves In | curves_in | vector | — | Collection of input curves (vector list) whose X-axis start and/or end points are to be synchronised; accepts multiple curves simultaneously. | |
| Extrapolate | extrapolate | scalar | yes | Controls how curve endpoints are extended to reach the common X boundary: ‘yes’ extrapolates freely, ‘yes_min_zero’ clamps extrapolated values to a minimum of zero, ‘zero’ pads with zeros, ‘yes_first_last_value’ holds the first/last value constant; defaults to ‘yes’. | |
| Start or End Sync | start_end | scalar | yes | Selects which boundary to synchronise: ‘start’ aligns only the first X point, ‘end’ aligns only the last X point, ‘start_and_end’ aligns both; defaults to ‘start_and_end’. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_sync_x_output_1 | curves_sync_x_output_1 | vector | Collection of output curves with synchronised X-axis start and/or end points, preserving the original curve count and order. |
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_start_and_end
Auto-generated from transformation schema. Worker id: curves_sync_x_start_and_end. Schema hash: cc88a55f2aef. Hand-curated docs in workerexamples/ override this page when present.