ADD A VALUE 0,0 IF IT DOES NOT EXISTS

Ensures a curve begins at the origin by prepending a (0, 0) point if one does not already exist. Use this worker to normalize curves before further processing or model fitting that requires a zero-origin boundary condition.

When to use

Classification: process.

Tagged: curve, normalization, prepend, transform, zero_origin.

Inputs

Label ID Type Default Required Description
Choose The Curve curve_input vector   Input curve (X/Y vector) to be checked and modified; if the curve does not already contain a (0, 0) point, one will be prepended — leave as default (null) only if the curve is supplied programmatically upstream.

Outputs

Label ID Type Description
curve_add_zero_origin_output_1 curve_add_zero_origin_output_1 vector Output curve identical to the input but guaranteed to start at (0, 0); same units and format as the input vector.

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_add_zero_origin


Auto-generated from transformation schema. Worker id: curve_add_zero_origin. Schema hash: 06730247a681. Hand-curated docs in workerexamples/ override this page when present.