ADD A VALUE 0,0 IF IT DOES NOT EXISTS

Ensures each input curve contains a (0, 0) origin point by prepending it if one does not already exist. Use this worker to normalise curves before fitting or comparison when a zero-origin anchor is required.

When to use

Classification: process.

Tagged: curves, normalise, preprocessing, transform, zero_origin.

Inputs

Label ID Type Default Required Description
Curves curves vector   One or more input curves (x-y vector pairs) to be checked and updated; if any curve is missing a (0, 0) point it will be prepended automatically. Optional — leave empty to pass through without modification.

Outputs

Label ID Type Description
curves_add_zero_origin_output_1 curves_add_zero_origin_output_1 vector The same set of curves returned in order, each guaranteed to start with a (0, 0) data point; format and units are preserved from the input.

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_add_zero_origin


Auto-generated from transformation schema. Worker id: curves_add_zero_origin. Schema hash: 0d34525a1656. Hand-curated docs in workerexamples/ override this page when present.