SCALE THE X-VALUES AND Y-VALUES BY THE BY A CURVE¶
Scales a collection of curves element-wise by a reference scaling curve, multiplying both x- and y-values of each input curve by the corresponding values of the scaling curve. Use this worker when you need to apply a curve-shaped gain or weighting function across a set of curves rather than a single scalar factor.
When to use¶
Classification: process.
Tagged: curve_scaling, curves, element_wise, scale, transform.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves To Be Scaled | curvestobescaled | vector | — | One or more input curves (x/y vector pairs) whose x- and y-values will be scaled; accepts multiple curves simultaneously. | |
| Curve That Scales | curvethatscales | vector | — | A single reference curve whose x- and y-values are used as the point-wise scaling factors applied to each curve in curvestobescaled. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_scale_by_curve_output_1 | curves_scale_by_curve_output_1 | vector | The resulting scaled curves, one per input curve, with x- and y-values multiplied by the corresponding values of the scaling curve. |
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_scale_by_curve
Auto-generated from transformation schema. Worker id: curves_scale_by_curve. Schema hash: 8b6228c54918. Hand-curated docs in workerexamples/ override this page when present.