DISCARD THE POINTS IF THE X-VALUE IS OUTSIDE OF THE RANGE SPECIFIED BELOW

Clips a curve by discarding all points whose x-value falls outside a specified [x_min, x_max] range. Use this worker to restrict a time-history or any XY curve to a window of interest before further processing.

When to use

Classification: process.

Tagged: clip, curve, filter, trim, window, x-range.

Inputs

Label ID Type Default Required Description
Curve To Be Trimmed curvetobetrimmed vector   The input XY curve (vector) whose points will be clipped; all points outside [x_min, x_max] are discarded.
X Min x_min float 0.0   Lower bound of the x-axis clip window (float, same units as the curve’s x-axis); points with x below this value are discarded — defaults to 0.0.
X Max x_max text 1.0   Upper bound of the x-axis clip window (float or text, same units as the curve’s x-axis); points with x above this value are discarded — defaults to 1.0.

Outputs

Label ID Type Description
Clipped Curve curve_clip_when_ymax_drops_below_percentage vector The trimmed output curve containing only the points whose x-values fall within [x_min, x_max], preserving the original XY format.

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_clipx


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