- THIS FUNCTION LOOKS INTO A COLLECTION OF CURVES AND RETURNS CURVENAME=>LOOKUP VALUE*
Iterates over a collection of curves and extracts a single scalar or label value from each one, returning a dataset of curveName→lookup-value pairs. Use this worker whenever you need to batch-extract a specific statistic (e.g. Ymax, Xfirst, first-peak X) or metadata attribute (e.g. name, id) across an entire curve group.
When to use¶
Classification: process.
Tagged: batch, curve_group, curves, lookup, scalar_extraction, statistics, transformations.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve Group | curve_group | vector | — | The collection of curves to query; accepts one or more curve objects (vector type). If omitted the worker returns an empty dataset. | |
| Type | type | scalar | xfirst | The lookup operation to perform on each curve — e.g. ‘ymax’ for the maximum Y value, ‘xfirst’/’xlast’ for boundary X values, ‘first_peak_x/y’ for the first local peak coordinates, ‘intersectx/y’ for axis-crossing values, ‘num_points’ for sample count, ‘name’/’id’/’file’ for metadata attributes, and statistical tail aggregates such as ‘yavg_5p_last’, ‘yq1’, ‘yq3’, etc. No default — must be explicitly chosen. | |
| With Attr | with_attr | string | name |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_lookup_output_1 | curves_lookup_output_1 | dataset | A two-column dataset (curveName → looked-up value) containing one row per input curve; value type (numeric or string) depends on the selected lookup Type. |
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
Auto-generated from transformation schema. Worker id: curves_lookup. Schema hash: 4146abed02ef. Hand-curated docs in workerexamples/ override this page when present.