FIT THE CURVE USING SPLINES¶
Fits an input curve using spline interpolation, resampling it to a specified number of points while controlling the degree of downsampling via a radius-of-curvature threshold. Use this worker to smooth, resample, or reduce the point density of a curve in a workflow.
When to use¶
Classification: process.
Tagged: curve_fit, downsample, interpolation, resample, spline, splinify.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve In | curve_in | vector | — | Input curve (x/y vector) to be spline-fitted and resampled; accepts any curve passed from an upstream worker. | |
| RADC | rad_c | scalar | 0.05 | Radius-of-curvature downsampling control (dimensionless); lower values produce more aggressive downsampling — default 0.05 is suitable for most smooth curves. | |
| Number Of Points | numberof_points | scalar | 100 | Number of evenly-spaced points to return on the fitted spline; default 100 — increase for higher output resolution. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_splinify_output_1 | curve_splinify_output_1 | vector | Spline-fitted output curve (x/y vector) resampled at the requested number of points. |
Disciplines¶
- 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=curve_splinify
Auto-generated from transformation schema. Worker id: curve_splinify. Schema hash: a78aa554653d. Hand-curated docs in workerexamples/ override this page when present.