TRANSLATE THE CURVE TO REMOVE ZERO X-VALUES AT THE START OF THE CURVE¶
Translates a curve along the x-axis so that the first non-zero x-value becomes the new origin (x = 0), effectively removing any leading zero x-values at the start. Use this worker to align curves to their true starting point before further processing or comparison.
When to use¶
Classification: process.
Tagged: curve, initial-point, offset, time-history, translate, x-shift, zero-trim.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve To Be Offset By Shifting The Initial Non-zero Point | curvetobeoffsetbyshiftingtheinitialnon-zeropoint | vector | — | Input XY curve (vector) whose x-axis will be shifted so that the first non-zero x-value is translated to zero; leave unconnected if the curve will be supplied at runtime. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_offsettoinitialpoint_output_1 | curve_offsettoinitialpoint_output_1 | vector | Translated XY curve (vector) with the x-axis shifted so that the original first non-zero x-value now starts at zero; same y-values as the input curve. |
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_offsettoinitialpoint
Auto-generated from transformation schema. Worker id: curve_offsettoinitialpoint. Schema hash: a968fabd31cc. Hand-curated docs in workerexamples/ override this page when present.