REMOVE LEADING AND TRAILING ZEROES

Removes leading and trailing zero-valued data points from a curve, returning a trimmed curve that starts and ends on non-zero values. Use this worker to clean up curves that contain unnecessary zero padding at either end before further processing or analysis.

When to use

Classification: process.

Tagged: curve_cleanup, leading, padding_removal, trailing, trim, zeroes.

Inputs

Label ID Type Default Required Description
Curve input_curve vector   The input X-Y curve (vector pair) from which leading and trailing zero-valued points will be stripped; accepts any curve format supported by the platform.

Outputs

Label ID Type Description
curve_trim_zeroes_output_1 curve_trim_zeroes_output_1 vector The trimmed output curve with all leading and trailing zero-valued data points removed, preserving the original non-zero interior data intact.

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_zeroes


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