SCALE Y VALUES BY A SET OF CURVE¶
Scales the Y values of one or more base curves by a reference scale curve using isoparametric interpolation. The scale factors are derived from the scale curve at digitized or critical-point intervals, then applied element-wise along the X axis of each base curve. Use this worker when you need spatially varying Y-axis scaling driven by a second curve.
When to use¶
Classification: process.
Tagged: curve_scaling, curve_transform, isoparametric, scale, transformations, y_scale.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Base Curve | base_curves | vector | — | ✓ | One or more input curves whose Y values will be scaled; accepts a vector (multi-curve) input — each curve is processed independently against the scale curve. |
| Curve To Use For Scale | curvetousefor_scale | vector | — | ✓ | The reference scale curve whose Y values define the spatially varying scale factors applied to the base curves; must share a compatible X range with the base curves. |
| after_x | after_x | string | 0 | X-axis threshold below which no scaling is applied; scaling begins only after this X value (default 0, meaning scaling applies from the start of the curve). | |
| Digitize Scale Curve | every | string | 10 | Digitization interval for sampling the scale curve; set to a positive integer to sample every N points, or 0 to use only the critical points (peaks, valleys, endpoints) of the scale curve (default 10). | |
| Restrict To This Indexes | restrict_to | string | — | Optional list of base-curve indices (from the base_curves vector) to which scaling is restricted; leave empty to process all base curves. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| Scaled Curve | curve_scale_by_curve_output_1 | vector | The resulting scaled curve(s) with Y values multiplied by the isoparametrically interpolated scale factors derived from the scale curve; same X coordinates as the input base curves. |
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_isoparametric
Auto-generated from transformation schema. Worker id: curves_scale_by_curve_isoparametric. Schema hash: 9d9b7d62119c. Hand-curated docs in workerexamples/ override this page when present.