FIT THE CURVE BASED ON SPLINES

Fits one or more input curves using cubic spline interpolation, producing a smoothed curve re-sampled at a specified number of points. Use this worker to regularise noisy or irregularly-sampled curves before downstream analysis or comparison.

When to use

Classification: process.

Tagged: curve_fit, interpolation, resample, smoothing, spline, splinify, transformations.

Inputs

Label ID Type Default Required Description
Curves In curves_in vector   One or more input curves (x/y vector pairs) to be spline-fitted; accepts multiple curves in a single pass.
RADC rad_c scalar 0.05   Spline smoothing radius/tolerance parameter (RADC); dimensionless float, default 0.05 — increase to produce a smoother, less tightly fitted spline.
Number Of Points numberof_points scalar 100   Number of evenly-spaced output points to resample the fitted spline onto; integer, default 100 — increase for higher output resolution.

Outputs

Label ID Type Description
curves_splinify_output_1 curves_splinify_output_1 vector Spline-fitted and resampled output curve(s) corresponding to each input curve, returned as x/y vector pairs at the requested number of points.

Disciplines

  • data.curve.transform
  • data.signal_processing

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_splinify


Auto-generated from transformation schema. Worker id: curves_splinify. Schema hash: be2fe8eda01c. Hand-curated docs in workerexamples/ override this page when present.