LOOKUP Y-VALUE FROM A GIVEN X-VALUE

Performs a point lookup on one or more curves, returning the interpolated y-value at a specified x-value. Use this worker whenever you need to extract a single response value (e.g. force, displacement, acceleration) at a known abscissa from a curve dataset.

When to use

Classification: process.

Tagged: curve, interpolation, lookup, point-query, x-value, y-value.

Inputs

Label ID Type Default Required Description
Curves To Be Looked Up curvestobelookedup vector One or more input curves (x–y pairs) from which the y-value will be interpolated; accepts a vector of curve objects — provide at least one curve, multiple curves are processed independently.
X Value x_value float 0.0 The x-axis position (float, same units as the curve’s x-axis) at which the corresponding y-value is to be looked up; defaults to 0.0.

Outputs

Label ID Type Description
curves_lookup_yvalueat_output_1 curves_lookup_yvalueat_output_1 dataset A dataset containing one row per input curve with the curve identifier and the interpolated y-value found at the specified x-value.

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=curves_lookup_yvalueat


Auto-generated from transformation schema. Worker id: curves_lookup_yvalueat. Schema hash: 296a30d4b78a. Hand-curated docs in workerexamples/ override this page when present.