GET THE VALUE OF Y BASED ON A PERCENTAGE VALUE OF X. FOR EXAMPLE, Y(50%XA)

Looks up the Y value on a curve at a specified percentage of the curve’s maximum X value (e.g., Y at 50% of X_max). Use this worker when you need to extract a response value at a relative position along the X axis rather than an absolute X coordinate.

When to use

Classification: process.

Tagged: curve_lookup, interpolation, lookup, percentage, transformations, xmaxp.

Inputs

Label ID Type Default Required Description
Curve to be looked up curvetobelookedup vector The input X-Y curve (vector) on which the lookup will be performed; must contain at least one data point with a defined X maximum.
x_percentage x_percentage float 0   Percentage (0–100) of the curve’s maximum X value at which to evaluate Y; defaults to 0 (i.e., Y at X = 0% of X_max).

Outputs

Label ID Type Description
curve_lookup_xmaxp_output_1 curve_lookup_xmaxp_output_1 scalar Scalar Y value interpolated from the curve at the X coordinate corresponding to the specified percentage of X_max.

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_lookup_xmaxp


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