INTERPOLATE THE CURVE TO GET Y-VALUES FOR NEW X-POINTS

Interpolates a source curve onto a new set of x-points by pairing it with a reference old-y curve and a new-x curve, returning the interpolated y-values at the new x-positions. Use this worker when you need to resample or remap a curve onto a different x-axis grid provided by another curve object.

When to use

Classification: process.

Tagged: curve, interpolation, remap, resample, x-y mapping.

Inputs

Label ID Type Default Required Description
Curve curvewith_old_x-points vector   The source curve supplying the original x-axis points (dimensionless index or physical units matching the old-y curve); passed as a vector or CurveGroup (first curve is used).
Curve curvewithold_y-points vector   The curve supplying the original y-values that correspond to the old x-points; passed as a vector or CurveGroup (first curve is used).
Curve curvewithnew_x-points vector   The curve whose x-values define the new grid onto which the y-values will be interpolated; passed as a vector or CurveGroup (first curve is used).

Outputs

Label ID Type Description
curve_interpolate_x_y_output_1 curve_interpolate_x_y_output_1 vector Output curve containing the interpolated y-values evaluated at each new x-point from the new-x input curve; returned as a vector in the same units as the original y-data.

Disciplines

  • data.curve.pair
  • 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_interpolate_x_y


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