FIND OPTIMUM VALUE FROM THE CURVE

Scans a curve and returns the x-value at which the y-value is minimized or maximized, using a convergence factor to handle near-flat optima. Use this worker whenever you need to locate the optimal operating point or design parameter from a response curve.

When to use

Classification: process.

Tagged: convergence, curve_transform, get_optimum_x, maximize, minimize, optimum.

Inputs

Label ID Type Default Required Description
Curve curve vector   Input curve (x/y vector pair) to search for the optimum; must contain at least two points spanning a measurable y-range.
Curve objective list minimize   Optimization direction: ‘minimize’ to find the x at the lowest y-value or ‘maximize’ to find the x at the highest y-value; defaults to ‘minimize’.
Convergence Factor convergence_factor scalar 0.001   Fraction of the total y-range used as a flatness threshold — if the y-value varies by less than this factor × y-range the curve is considered converged; dimensionless, defaults to 0.001.

Outputs

Label ID Type Description
curve_get_optimum_x_output_1 curve_get_optimum_x_output_1 scalar Scalar x-value at which the curve reaches its minimum or maximum y-value according to the chosen objective, in the same units as the input curve’s x-axis.

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_get_optimum_x


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