.. _auto_curve_splitvalues: *SPLIT THE CURVE INTO SEGMENTS AND RETURN THE Y VALUES FOR THOSE SEGMENTED CURVES* ================================================================================== Splits a curve into a specified number of equal segments and returns a representative scalar value (average, minimum, or maximum) of the Y values within each segment. Use this worker to reduce a time-history or signal curve into a fixed-length feature vector of segment statistics. When to use ----------- Classification: **process**. Tagged: ``avg``, ``curve``, ``feature-extraction``, ``max``, ``min``, ``segmentation``, ``split``, ``time-history``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Choose Curve To Be Split - choose_curvetobe_split - vector - — - - The input curve (X-Y vector) to be divided into segments; accepts any 1-D curve object from the workflow — leave empty only if the curve is piped in from an upstream worker. * - Type Of Value To Return - typeofvaluetoreturn - string - avg - - Aggregation statistic applied to the Y values within each segment: 'avg' (default) returns the mean, 'min' returns the minimum, and 'max' returns the maximum. * - Number Of Splits - numberof_splits - scalar - 10 - - Integer number of equal-width segments to divide the curve into; defaults to 10 — increase for finer resolution, decrease for a more compact feature vector. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curve_splitvalues_output_1 - curve_splitvalues_output_1 - keyvalue - Key-value map where each key is the segment index (1-based) and the corresponding value is the aggregated Y statistic (avg/min/max) for that segment. 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_splitvalues `_ .. raw:: html

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