SYNC THE X-POINTS OF TWO CURVES¶
Synchronises the x-axis sample points of one curve to those of a reference curve by interpolation, using either a merged or reference x-point strategy. Use this worker whenever two curves must share a common x-grid before downstream comparison, arithmetic, or correlation operations.
When to use¶
Classification: process.
Tagged: curve, interpolation, merge, reference, resampling, sync, x-points.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve To Be Synced | curvetobesynced | vector | — | The primary curve whose x-points will be resampled to align with the reference; supply as a two-column (x, y) vector — this is the curve that is modified. | |
| Ref Curve | ref_curve | vector | — | The reference curve that defines the target x-grid; its x-points are used as the synchronisation template and its y-values are interpolated onto the new grid when ‘reference’ mode is chosen. | |
| Type Of Sync | typeof_sync | scalar | merge | Sync strategy: ‘merge’ combines x-points from both curves into a union grid (default), while ‘reference’ resamples the primary curve strictly onto the reference curve’s x-points. | |
| Extrapolate | extrapolate | scalar | yes | Whether to extrapolate y-values beyond the original x-range when the target grid extends outside it; set to ‘yes’ (default) to extrapolate or ‘no’ to clamp to boundary values. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_sync_with_output_1 | curve_sync_with_output_1 | vector | The synchronised primary curve resampled onto the new common x-grid, returned as a two-column (x, y) vector with the same units as the input curve. |
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=curve_sync_with
Auto-generated from transformation schema. Worker id: curve_sync_with. Schema hash: fe249c86314e. Hand-curated docs in workerexamples/ override this page when present.