REMOVE LAST NEGATIVE SLOPE

Trims a curve by removing the trailing region that exhibits a negative slope, keeping only the data up to the last monotonically non-decreasing segment. Use this to clean up force-displacement or stress-strain curves where post-peak drop-off should be discarded before further processing.

When to use

Classification: process.

Tagged: cleanup, curve, monotonic, negative_slope, post_peak, remove_slope, trim.

Inputs

Label ID Type Default Required Description
Curve To Be Operated On curvetobeoperatedon vector   The input curve (X/Y vector) whose trailing negative-slope region will be removed; typically a force-displacement or stress-strain curve.
Percentage percentage text 0.05   Reserved slope-tolerance factor (dimensionless fraction, default 0.05); currently not used by the underlying transformer — leave at default.

Outputs

Label ID Type Description
curve_remove_negative_slope_output_1 curve_remove_negative_slope_output_1 vector The trimmed output curve with the last negative-slope segment removed, preserving the original X/Y units and scaling of the input curve.

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_negative_slope


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