PARTITION A CURVE AND RETURN A SINGLE VALUE FOR EACH PARITION

Splits an input curve into a specified number of equal intervals and reduces each partition to a single representative scalar value (average, maximum, or minimum). Use this worker when you need to summarise a time-history or XY curve into discrete segment-level statistics for downstream comparison or KPI extraction.

When to use

Classification: process.

Tagged: average, curve, interval, maximum, minimum, partition, reduce, time-history.

Inputs

Label ID Type Default Required Description
Curve curve vector The input XY / time-history curve (vector) to be partitioned; must be provided before the worker executes.
Number Of Intervals intervals scalar 4   Number of equal partitions to divide the curve into; default is 4. Supply a negative value to interpret the number as a time increment rather than a count.
Partition Type partition_type scalar average   Reduction function applied within each partition: ‘average’ (default), ‘maximum’, or ‘minimum’.

Outputs

Label ID Type Description
curve_partition_output_1 curve_partition_output_1 vector Output curve (vector) whose X-values represent the centre or boundary of each partition and whose Y-values are the computed representative scalar (average, max, or min) for that partition.

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_partition


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