BIN VALUES OF CURVE¶
Bins the Y-values of one or more curves into a specified number of ranges using a chosen aggregation strategy (average, max, first, or last Y). Use this worker to discretise continuous curve data into histogram-style bins for downstream statistical analysis or visualisation.
When to use¶
Classification: process.
Tagged: bin, binning, curve, histogram, ranges, transform, yavg, yfirst.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves | curves | vector | — | One or more input curves whose Y-values will be binned; accepts a vector of curve objects in d3VIEW curve format. | |
| Bin Type | bin_type | string | yavg | Aggregation method used to represent each bin: ‘yavg’ (mean Y), ‘ymax’ (maximum Y), ‘yfirst’ (first Y value in bin), or ‘ylast’ (last Y value in bin); defaults to ‘yavg’. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_bin_ranges_output_1 | curves_bin_ranges_output_1 | scalar | Scalar or curve result representing the binned ranges derived from the input curves using the selected aggregation method. |
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_bin_ranges
Auto-generated from transformation schema. Worker id: curves_bin_ranges. Schema hash: cdeb5c038e37. Hand-curated docs in workerexamples/ override this page when present.