.. _auto_curve_slope: *COMPUTE THE SLOPE OF THE CURVE* ================================ Computes the slope of a curve using a specified aggregation strategy (first, max, min, avg, last, or initial-to-y-max). Use this worker whenever a scalar slope value needs to be extracted from a time-history or XY curve for downstream KPI evaluation or comparison. When to use ----------- Classification: **process**. Tagged: ``curve``, ``derivative``, ``scalar``, ``slope``, ``transformation``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curve To Be Looked Up - curvetobelookedup - vector - — - - The input XY/time-history curve from which the slope will be computed; accepts any standard d3VIEW curve vector. * - Slope Type - smoothtype - string - first - - Aggregation strategy used to reduce the point-wise slope to a single scalar: 'first' (slope at the first point), 'max' (maximum slope), 'min' (minimum slope), 'avg' (average slope), 'last' (slope at the last point), or 'initialtoymax' (slope from the curve origin to the y-maximum); defaults to 'first'. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curve_slope_output_1 - curve_slope_output_1 - scalar - Scalar slope value (Δy/Δx, unitless unless the input curve carries units) computed from the input curve according to the chosen slope type. Disciplines ----------- - data.curve.transform - data.signal_processing Runnable example ---------------- A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: `/api/workflow/example?id=curve_slope `_ .. raw:: html

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