COMPUTE THE SLOPES OF THE CURVES¶
Computes scalar slope values from one or more input curves using a selected aggregation method (first, last, min, max, average, or initial-to-y-max). Use this worker when you need to reduce curve data to a single representative slope metric for downstream KPI rollup or comparison.
When to use¶
Classification: process.
Tagged: aggregation, curve_slope, curve_transform, derivative, kpi, slopes.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves In | curves_in | vector | — | One or more input curves (vector) whose slopes will be computed; accepts multi-select curve inputs in d3VIEW curve format — leave empty to pass curves dynamically from an upstream worker. | |
| Slope Type | slope_type | string | first | Aggregation method used to extract a single slope value from each curve: ‘first’ (slope at the first segment, default), ‘last’ (final segment), ‘max’ (steepest positive), ‘min’ (steepest negative), ‘avg’ (mean of all segment slopes), or ‘initialtoymax’ (slope from the initial point to the y-maximum). |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_get_slopes_output_1 | curves_get_slopes_output_1 | dataset | Dataset containing one row per input curve with the computed scalar slope value and any associated curve identifiers, suitable for tabular reporting or further statistical processing. |
Disciplines¶
- data.curve.transform
- data.statistics
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_get_slopes
Auto-generated from transformation schema. Worker id: curves_get_slopes. Schema hash: 392c5fcc5423. Hand-curated docs in workerexamples/ override this page when present.