FIT THE CURVE USING ANY REGION NEAR THE INITIAL POINT TO SMOOTH THE INITIAL PORTION

Fits a polynomial to the initial region of a curve to produce a smoothed version of its starting portion. Use this worker when raw curve data has noisy or artefact-laden early values that need to be replaced with a clean best-fit approximation.

When to use

Classification: process.

Tagged: best_fit, curve, initial_region, polynomial, smooth, transformations.

Inputs

Label ID Type Default Required Description
Curve curve vector   Input curve (or batch of curves) whose initial portion is to be smoothed; accepts a vector time-history or X-Y curve in d3VIEW curve format.
Order order scalar 3   Polynomial order used for the best-fit regression over the initial region; default is 3 (cubic); increase for more flexible fits, decrease to enforce smoother, stiffer starts.
Start Value start_value scalar 0   Override for the x-axis start value of the fit region; leave at default (0) to use the curve’s own first data point as the region origin.

Outputs

Label ID Type Description
Best fit Curve curve_o_1 vector Output curve with the initial portion replaced by the polynomial best-fit result, preserving the original data beyond the fitted region.

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=curves_smooth_start_using_best_fit


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