EXTRAPOLATE THE CURVE WITH A CONSTANT VALUE

Extends a curve beyond its current end-point by appending a constant (flat) segment up to a specified last X-value at a specified last Y-value. Use this worker when a curve must be padded to a longer domain with no change in magnitude beyond the original data range.

When to use

Classification: process.

Tagged: constant, curve, extend, extrapolate, flat, pad.

Inputs

Label ID Type Default Required Description
Curve curve vector   Input curve (X/Y vector pair) to be extrapolated; connect the upstream curve output here.
Last X-Value x_last scalar 1   X-coordinate of the final extrapolated point; defines how far along the X-axis the constant segment extends (default: 1).
Last Y-Value y_last scalar 1   Constant Y-value applied across the extrapolated segment from the curve’s last point to x_last (default: 1).

Outputs

Label ID Type Description
curve_extrapolate_constant_output_1 curve_extrapolate_constant_output_1 vector Extrapolated curve (X/Y vector pair) identical to the input curve up to its original end-point, then extended as a flat constant segment through (x_last, y_last).

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_extrapolate_constant


Auto-generated from transformation schema. Worker id: curve_extrapolate_constant. Schema hash: 263a02e4ac2c. Hand-curated docs in workerexamples/ override this page when present.