TRIM CURVE BASED ON Y POINTS AFTER A CERTAIN X-VALUE

Trims a curve by discarding all points before a minimum X value and then retaining only those points whose Y values fall within a specified [min_Y, max_Y] band. Use this worker to isolate a region of interest on a time-history or XY curve before downstream processing.

When to use

Classification: process.

Tagged: curve_trim, filter, process, trim, x_threshold, y_band.

Inputs

Label ID Type Default Required Description
Curve curve vector   Input XY curve (vector) to be trimmed; must contain paired X and Y data points.
Min X min_x scalar 0   Minimum X value (scalar); all curve points with X less than this threshold are discarded before Y-band filtering is applied. Defaults to 0.
Min Y y_min scalar 0   Lower bound of the Y-value band (scalar); points with Y below this value are excluded. Defaults to 0.
Max Y y_max scalar 0   Upper bound of the Y-value band (scalar); points with Y above this value are excluded. Defaults to 0 — set explicitly to the desired ceiling.
Stop On First Match stop_on_first_match scalar yes   Controls whether trimming stops at the first point that satisfies the Y-band condition (‘yes’) or continues scanning all remaining points (‘no’). Defaults to ‘yes’.

Outputs

Label ID Type Description
curve_trim_output_1 curve_trim_output_1 vector Trimmed output curve (vector) containing only the points that passed both the min-X threshold and the [min_Y, max_Y] band filter.

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_trim


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