REMOVE TRAILING INTERSECTION WITH X-AXIS

Truncates one or more curves at the last intersection with the x-axis (y = 0), removing any trailing data points beyond that crossing. Use this worker to clean up force/displacement or time-history curves that oscillate around zero and need to be trimmed to a meaningful endpoint.

When to use

Classification: process.

Tagged: cleanup, curve, intersection, time-history, trailing, trim, truncate, x-axis.

Inputs

Label ID Type Default Required Description
Curves To Be Operated On curvestobeoperatedon vector   One or more input curves (vector of x/y pairs) to be trimmed at their trailing x-axis intersection; accepts any curve type (e.g. force-displacement, acceleration-time).
Ignore intersections after ignoreintersectionsafter scalar 1   Scalar index (1-based, default 1) specifying how many trailing x-axis intersections to skip from the end before cutting; increase this value to preserve additional post-zero-crossing segments.

Outputs

Label ID Type Description
Curve with intersections with X curve_remove_trailing_output_1 vector Trimmed output curve(s) with all data points after the last qualifying x-axis intersection removed, retaining the same units and format as the input.

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_remove_trailing_intersection_with_x_axis


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