LOOK UP Y VALUES AND REPORT FAILED POINTS BASED ON THRESHOLDS

Scans a curve’s y-values within an optional x-range and identifies points that fall outside a threshold band (threshold_value ± threshold_value × threshold_tolerance). Returns a scalar summary of the failed points as a percentage, raw count, or average y-value, depending on the selected return type.

When to use

Classification: process.

Tagged: curve, failed_points, pass_fail, quality_check, scalar_output, threshold.

Inputs

Label ID Type Default Required Description
Curve curve vector Input curve (x/y vector) whose y-values will be evaluated against the threshold; must be a valid d3VIEW curve object.
X Min x_min float 0.0   Lower bound of the x-range to inspect; data points with x-values below this threshold are skipped (default 0.0, same units as the curve’s x-axis).
X Max x_max float 0.0   Upper bound of the x-range to inspect; data points with x-values above this value are skipped (default 0.0, same units as the curve’s x-axis; set equal to x_min to disable upper filtering).
X Max threshold_value float 0.0   Central reference value against which curve y-values are compared; a point is considered failed if its y-value falls outside ±threshold_tolerance × threshold_value (default 0.0, same units as the curve’s y-axis).
X Max threshold_tolerance float 0.01   Fractional tolerance multiplied by threshold_value to form the acceptable band (e.g., 0.01 = ±1%); default is 0.01.
Slope Type return_type string first   Selects the scalar summary returned: ‘percentage_failed’ (fraction of points outside the band as %), ‘num_failed’ (integer count of failed points), or ‘yavg_failed’ (mean y-value of failed points); default is ‘first’ (percentage_failed).

Outputs

Label ID Type Description
curve_get_failed_points_output_1 curve_get_failed_points_output_1 scalar Scalar result summarising the failed points in the specified x-range: either the percentage failed, the count of failed points, or the average y-value of failed points, as determined by return_type.

Disciplines

  • data.curve.transform
  • data.statistics

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curve_get_failed_points


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