ENFORCE DECAY - MONOTONICALLY DECREASING VALUES FOR Y

Enforces monotonically decreasing Y-values on one or more curves by progressively clamping each Y value to be no greater than the preceding one. Use this worker to sanitize curves (e.g., decay, failure, or degradation data) that should strictly decrease but contain noise or non-monotone artifacts.

When to use

Classification: process.

Tagged: clamp, curves, decay, enforce_decay, monotonic, process, transform, y-values.

Inputs

Label ID Type Default Required Description
Curves curves vector   One or more input curves (X/Y vector pairs) whose Y-values should be made monotonically decreasing; accepts multiple curves and is optional — if omitted the worker passes through with no output.

Outputs

Label ID Type Description
curves_enforce_decay_output_1 curves_enforce_decay_output_1 vector Transformed curves with Y-values enforced to be monotonically non-increasing (each Y ≤ the previous Y), preserving the original X-values unchanged.

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=curves_enforce_decay


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