.. _auto_curve_zone_values: *COMPUTE ZONE VALUES BASED ON X-RANGES* ======================================= Splits a curve into user-defined x-axis zones and computes a summary statistic (average, min, max, first, or last y-value) for each zone. Use this worker to extract scalar KPIs from specific time or spatial intervals of a curve. When to use ----------- Classification: **process**. Tagged: ``aggregation``, ``average``, ``curve``, ``kpi``, ``max``, ``min``, ``time-interval``, ``x-range``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curve To Use For Computing The Zone Calculations - curvetouseforcomputingthezonecalculations - vector - — - - The input curve (x/y vector) on which zone calculations will be performed; must be provided as a d3VIEW curve object. * - Zones - zones - string - — - - Colon-separated x-axis range pairs defining each zone (e.g. '0:10:20:30' for two zones [0–10] and [20–30]); leave blank to operate over the full curve extent. * - Calculation Type - calculation_type - integer - average - - Aggregation function applied to y-values within each zone: 'average' (default), 'min', 'max', 'first', or 'last'. * - Names - zone_names - string - — - - Optional comma-separated labels to assign to each zone in the output; defaults to the source curve name if not provided. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curve_zone_values_output_1 - curve_zone_values_output_1 - keyvalue - Key-value map of zone name → computed scalar result, one entry per defined zone, using the selected aggregation type. 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=curve_zone_values `_ .. raw:: html

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