CLIP THE CURVES BASED ON EITHER X OR Y RANGES

Clips one or more curves by removing data points that fall outside specified X and/or Y axis ranges. Use this worker to window time-history or XY curves to a region of interest before further processing or comparison.

When to use

Classification: process.

Tagged: clip, curve, transformations, trim, window, x_range, y_range.

Inputs

Label ID Type Default Required Description
Curve curve vector   One or more XY curves (vector type) to be clipped; accepts multiple curves in a single pass.
X Min x_min scalar -1e20   Lower bound on the X axis — data points with X values below this threshold are discarded; defaults to -1e20 (no lower clipping).
X Max x_max scalar 1e20   Upper bound on the X axis — data points with X values above this threshold are discarded; defaults to 1e20 (no upper clipping).
Y Min y_min scalar -1e20   Lower bound on the Y axis — data points with Y values below this threshold are discarded; defaults to -1e20 (no lower clipping).
Y Max y_max scalar 1e20   Upper bound on the Y axis — data points with Y values above this threshold are discarded; defaults to 1e20 (no upper clipping).

Outputs

Label ID Type Description
curves_clip_output_1 curves_clip_output_1 vector The clipped curve(s) as a vector group, retaining only data points whose X and Y values fall within the specified [X Min, X Max] × [Y Min, Y Max] window.

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


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