PARTITION A CURVE AND RETURN A SINGLE VALUE FOR EACH PARITION

Splits one or more input curves into a fixed number of equal-width intervals and reduces each partition to a single scalar value (average, maximum, or minimum). Use this worker to summarize curve behaviour across distinct time or x-axis segments, for example extracting per-phase statistics from a load–time history.

When to use

Classification: process.

Tagged: average, curve, interval, maximum, minimum, partition, reduce, segmentation.

Inputs

Label ID Type Default Required Description
Curve curves vector One or more input curves (x/y vector pairs) to be partitioned; accepts multiple curves in a single pass.
Number Of Intervals intervals scalar 4   Number of equal-width partitions to divide each curve into (positive integer, default 4); supply a negative value to specify a fixed x-axis increment per partition instead of a count.
Partition Type partition_type scalar average   Reduction function applied within each partition: ‘average’ (default), ‘maximum’, or ‘minimum’; determines the single scalar returned per segment.

Outputs

Label ID Type Description
curves_partition_output_1 curves_partition_output_1 vector Reduced output curve(s) where each point represents the computed aggregate (average, max, or min) of the corresponding partition interval for every input curve.

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_partition


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