OFFSET THE X-VALUES AND Y-VALUES BY THE FACTORS PROVIDED BELOW¶
Shifts one or more curves by adding a constant offset to their x-values, y-values, or both. Use this worker whenever you need to translate curves along either axis — for example, to align time histories or correct a zero-offset error.
When to use¶
Classification: process.
Tagged: curve_transform, offset, translation, x_offset, y_offset.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves To Be Scaled | curvestobescaled | vector | — | One or more input curves to be offset; accepts multiple curve objects passed as a vector (connect a curve source or leave unconnected if using inline data). | |
| X Offset Value | x_offsetvalue | scalar | 0 | Scalar added to every x-value of each curve (new_x = original_x + offset); default is 0.0 — supply a comma-separated list to assign a distinct offset per curve. | |
| Y Offset Value | y_offsetvalue | scalar | 0 | Scalar added to every y-value of each curve (new_y = original_y + offset); default is 0.0 — supply a comma-separated list to assign a distinct offset per curve. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_offset_output_1 | curves_offset_output_1 | vector | Vector of offset curves in the same format as the input, with x- and/or y-values shifted by the specified amounts. |
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=curves_offset
Auto-generated from transformation schema. Worker id: curves_offset. Schema hash: 06d5d3625da6. Hand-curated docs in workerexamples/ override this page when present.