- THIS FUNCTION LOOKS INTO A COLLECTION OF CURVES AND RETURNS CURVENAME=>LOOKUP VALUE*
Iterates over a collection of curves and builds a key-value map of curveName (or curve id/file) to a requested lookup value (e.g. Y-minimum or Y-maximum). Use this worker to quickly extract a named scalar statistic from every curve in a group in a single step.
When to use¶
Classification: process.
Tagged: batch, curve_group, curves, dataset, key_value, lookup, ymax, ymin.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve Group | curve_group | vector | — | Collection of input curves to query; accepts multiple curve objects. Leave empty only if curves are injected upstream — at least one curve must be present for a meaningful result. | |
| Type | type | scalar | ymin | Scalar statistic to extract from each curve: ‘ymin’ returns the minimum Y value and ‘ymax’ returns the maximum Y value. Defaults to ‘ymin’. | |
| With Attr | with_attr | string | name | Curve attribute used as the key in the output map: ‘name’ (human-readable label), ‘id’ (internal identifier), or ‘file’ (source filename). Defaults to ‘name’. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_lookup_dataset_output_1 | curves_lookup_dataset_output_1 | keyvalue | Key-value dataset where each key is the selected curve attribute (name, id, or file) and each value is the extracted scalar statistic (ymin or ymax) for that curve. |
Disciplines¶
- data.curve.pair
- 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_lookup_dataset
Auto-generated from transformation schema. Worker id: curves_lookup_dataset. Schema hash: 1a3973c1545b. Hand-curated docs in workerexamples/ override this page when present.