CLIP WHEN Y REACHES ZERO

Clips a curve at the first point where the Y value reaches zero, searching only within the tail portion of the curve defined by a percentage threshold. Use this worker to truncate time-history or force-displacement curves that decay to zero, removing trailing noise or irrelevant data beyond the zero-crossing.

When to use

Classification: process.

Tagged: clip, curve_trim, time_history, truncate, zero_crossing.

Inputs

Label ID Type Default Required Description
Curve To Clip curvetoclip vector   The input X-Y curve (vector) to be clipped; the worker scans this curve for the first zero Y-crossing in the trailing segment and truncates everything after that point.
Percentage After percentage float 0.8   Fraction (0.0–1.0) of the total number of points to skip before searching for the zero Y-crossing; default 0.8 means the search begins at the 80th-percentile point, preventing premature clipping on curves that pass through zero early.

Outputs

Label ID Type Description
Clipped Curve curve_clip_when_y_reaches_zero_o1 vector The trimmed X-Y curve, ending at the first zero Y-crossing detected in the search window defined by the percentage threshold.

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_clip_when_y_reaches_zero


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