CLIP TO MAKE THE SLOPES OF CURVES MONOTONICALLY INCREASING OR DECREASING

Clips a set of curves so that their slopes become monotonically increasing or decreasing, using a linear regression over a configurable trailing percentage of points to determine the reference slope. Use this worker to enforce consistent tail behaviour across a batch of curves before further analysis or comparison.

When to use

Classification: process.

Tagged: clip, curve_processing, monotonic, regression, slope, tail_sync.

Inputs

Label ID Type Default Required Description
Curves In curves_in vector   Collection of input curves whose trailing slopes are to be made monotonic; accepts multiple curve objects in d3VIEW vector format.
Percentage Of Points To Use For Regression percentage_of_points scalar 0.1   Fraction (0–1) of the curve’s total points, taken from the tail, used for linear regression to estimate the final slope; default 0.1 (10%) is suitable for most smooth curves — increase for noisy data.
Slope Type slope_type scalar first   Reference slope strategy: ‘first’ uses the slope of the first curve in the batch, ‘max’ uses the steepest slope found, and ‘min’ uses the shallowest — controls which slope target all curves are clipped to match.

Outputs

Label ID Type Description
curves_sync_last_slope_output_1 curves_sync_last_slope_output_1 vector Clipped output curves in d3VIEW vector format, each truncated so that its trailing slope is monotonically consistent with the selected reference slope type.

Disciplines

  • data.curve.pair
  • 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=curves_clip_based_on_monotonic_slopes


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