CURVE CUSTOM BIN¶
Segments a curve into named bins based on user-defined boolean expressions evaluated per data point, using current (X, Y), previous (PX, PY), and next (NX, NY) point values. Use this worker when you need to classify or partition curve data into custom, arbitrarily-defined regions for downstream analysis or reporting.
When to use¶
Classification: process.
Tagged: binning, boolean_expression, classification, curve, custom_bin, partitioning, segmentation.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve | curve | vector | — | ✓ | The input curve (vector of X/Y pairs) to be segmented; must be provided — each point is evaluated against the bin expressions in turn. |
| X Max | bin_values | textarea | bin_name, ( X > 2 && Y > 3 ) ? true : false; | Multi-line text block defining one bin per line in the format ‘BIN_NAME, <BOOL_EXPRESSION> ? true : false;’, where X/Y refer to the current point, PX/PY to the previous point, and NX/NY to the next point (e.g. ‘high_load, ( X > 2 && Y > 3 ) ? true : false;’). |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_custom_bin_output_1 | curve_custom_bin_output_1 | dataset | Dataset containing the original curve points annotated with their assigned bin labels as determined by the evaluated boolean expressions. |
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_custom_bin
Auto-generated from transformation schema. Worker id: curve_custom_bin. Schema hash: b0230643d489. Hand-curated docs in workerexamples/ override this page when present.