CREATE A CURVE FROM SET¶
Trims one or more curves along the X-axis so that their length matches a reference curve. Use this worker to synchronise the domain of a set of curves to a common reference before comparison or further processing.
When to use¶
Classification: process.
Tagged: curve_trim, domain_match, sync, transformations, trim, trim_x, x_axis.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve To Be Trimmed | curve_to_be_trimmed | vector | — | One or more input curves (vector) whose X-axis extent will be trimmed to match the reference curve; accepts multiple curves simultaneously. | |
| Reference Curve | reference_curve | vector | — | The reference curve (vector) that defines the target X-axis extent or number of points to which the input curves will be trimmed. | |
| Sync Type | sync_type | scalar | num_of_points | Trimming strategy: ‘num_of_points’ trims the input to the same number of data points as the reference (default), while ‘x’ trims to match the reference’s X-axis range. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_trim_x_output_1 | curves_trim_x_output_1 | vector | Trimmed curve(s) (vector) whose X-axis domain or point count has been aligned to the reference 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=curves_trim_x
Auto-generated from transformation schema. Worker id: curves_trim_x. Schema hash: 3b5bb78ccf18. Hand-curated docs in workerexamples/ override this page when present.