CREATE A CURVE FROM SET¶
Constructs a curve object by zipping a set of X-values with a set of Y-values into ordered (x, y) point pairs. Use this worker whenever you need to assemble a curve from two separate value collections before passing it to downstream curve-transform or plotting workers.
When to use¶
Classification: process.
Tagged: construct, curve, from_set, point_pairs, process, vector, zip.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Set Of X-points | x | set | — | Ordered set of X-axis values (e.g. time or displacement in consistent units); must have the same length as the Y set. Leave unconnected only if no X-axis data is needed, but output will be meaningless. | |
| Set Of Y-points | y | set | — | Ordered set of Y-axis values (e.g. force, acceleration, or any response quantity in consistent units); must have the same length as the X set. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_from_set_output_1 | curve_from_set_output_1 | vector | A curve object (vector of (x, y) point pairs) assembled from the provided X and Y sets, ready for downstream curve-transform, plotting, or correlation workers. |
Disciplines¶
- 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_from_set
Auto-generated from transformation schema. Worker id: curve_from_set. Schema hash: c09b97754ee9. Hand-curated docs in workerexamples/ override this page when present.