ADD PAIRS OF CURVES¶
Adds pairs of curves element-wise by matching curves from Curve Group 1 and Curve Group 2 positionally and summing their Y values over a common X axis. Use this worker when you need to superimpose or combine two collections of curves pair-by-pair (e.g. adding a baseline signal to a perturbation signal for each channel).
When to use¶
Classification: process.
Tagged: add, curve_group, curves, element-wise, pair, sum, transformations.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve 1 | curve_group1 | vector | — | First collection of curves (Curve Group 1); each curve is matched positionally with the corresponding curve in Curve Group 2 and its Y values are used as the first addend. Accepts one or more curves; leave empty only if no first operand is needed. | |
| Curve 2 | curve_group2 | vector | — | Second collection of curves (Curve Group 2); each curve is matched positionally with the corresponding curve in Curve Group 1 and its Y values are used as the second addend. Must contain the same number of curves as Curve Group 1 for pair-wise addition. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_add_pairs_output_1 | curves_add_pairs_output_1 | vector | Collection of result curves where each output curve contains the element-wise sum of the Y values of the corresponding input pair, interpolated onto a shared X axis. |
Disciplines¶
- data.curve.pair
- data.curve.transform
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_add_pairs
Auto-generated from transformation schema. Worker id: curves_add_pairs. Schema hash: 2180d515e232. Hand-curated docs in workerexamples/ override this page when present.