CREATE A NEW CURVE BY ADDING THE X-VALUES OF THE SECOND CURVE TO THE BASE-CURVE.¶
Merges multiple curves into a single curve by concatenating all x- and y-values across the input set. Optionally sorts the merged x-values, applies an x-offset to each curve before merging so segments are contiguous, and removes duplicate points. Use this worker when you need to stitch several curve segments into one continuous curve.
When to use¶
Classification: process.
Tagged: concatenate, curves, dedup, merge, sort, stitch, x-offset.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| All Curves | all_curves | vector | — | Collection of two or more XY curves to be merged; the first curve acts as the base and all subsequent curves are appended to it (vector/curve type, multiple selection enabled). | |
| Sort | sort | scalar | yes | Whether to sort all x-values in ascending order after merging (options: ‘yes’ / ‘no’; default ‘yes’ — leave as ‘yes’ unless the original segment ordering must be preserved). | |
| Offset Before Merging | offset_before_merging | scalar | no | Whether to shift each successive curve’s x-values so that it starts where the previous curve ends, preventing x-axis overlap before the merge (options: ‘yes’ / ‘no’; default ‘no’). | |
| Remove Identical Points | remove_identical_points | scalar | yes | Whether to remove duplicate (x, y) points that arise at segment junctions after merging (options: ‘yes’ / ‘no’; default ‘yes’ — set to ‘no’ only if repeated boundary points are intentional). |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_merge_all_output_1 | curves_merge_all_output_1 | vector | Single merged XY curve containing all data points from every input curve, optionally sorted, offset, and deduplicated according to the selected options. |
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_merge_all
Auto-generated from transformation schema. Worker id: curves_merge_all. Schema hash: 9a936a3dbc7f. Hand-curated docs in workerexamples/ override this page when present.