ENFORCES MONOTONICITY FOR X OR Y POINTS¶
Enforces monotonicity on a curve’s X or Y axis by removing non-monotonic points according to the chosen axis mode and direction. Use this worker to clean up curves with oscillations or back-tracking before further processing or material calibration workflows.
When to use¶
Classification: process.
Tagged: cleanup, curve, curve_transform, monotonic, monotonicity, oscillation, x-axis, y-axis.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve To Be Operated On | curvetobeoperatedon | vector | — | The input curve (X/Y vector pair) whose monotonicity will be enforced; must be supplied as a two-column vector — leave unconnected only if the curve is piped implicitly by the parent workflow. | |
| Axis And Starting Point | axis | string | x | Axis and traversal strategy for monotonicity enforcement: ‘x’ / ‘y’ / ‘xy’ start from the first point and enforce increasing monotonicity; ‘x1’ removes horizontal oscillations; ‘x_end’ / ‘y_end’ start from the last point; ‘yslope’, ‘yslopeclip’, and ‘yslopeconstant’ enforce slope-based monotonicity with different clipping behaviours; defaults to ‘x’. | |
| Min X | xmin | scalar | -1e20 | Minimum X value below which curve points are ignored before the monotonicity filter is applied; dimensionless scalar matching the curve’s X units — leave at default (-1e20) to include all points. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_monotonic_output_1 | curve_monotonic_output_1 | vector | The monotonicity-enforced output curve (X/Y vector pair) with non-monotonic points removed or adjusted according to the selected axis mode and direction. |
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_monotonic
Auto-generated from transformation schema. Worker id: curve_monotonic. Schema hash: 3ceeeb2f94f9. Hand-curated docs in workerexamples/ override this page when present.