CREATE A NEW SET OF CURVES BY USING A INTERVAL OF XMAX-MAX/NP AS SPECIFIED BELOW

Resamples one or more curves onto a uniform x-axis grid by dividing the [xmin, xmax] range into a specified number of equidistant intervals. Optionally applies Ramer–Douglas–Peucker (RDP) smoothing and supports symmetric resampling about a user-defined mid-point. Use this worker to normalise curves to a common x-resolution before comparison or further processing.

When to use

Classification: process.

Tagged: curve_transform, digitize, equidistant, interpolate, rdp, resample, smoothing.

Inputs

Label ID Type Default Required Description
Curves curves vector   One or more input curves (x/y vector pairs) to be resampled; accepts multiple curves simultaneously.
Num of Intervals num_points scalar 100   Number of equidistant intervals to create between the first and last x-value of each curve; default is 100 (produces 101 points).
Mid Point mid_point integer 0.0   X-value about which equal numbers of intervals are placed on each side; defaults to the initial x-value of the curve (0.0).
Add RDP Smoothing add_rdp string no   Set to ‘yes’ to apply Ramer–Douglas–Peucker smoothing after resampling, reducing unnecessary points while preserving curve shape; default is ‘no’.
Rdp Espsilon rdp_espsilon integer 1.0   Tolerance (epsilon) used by the RDP algorithm to determine which points to retain; only active when Add RDP Smoothing is ‘yes’; default is 1.0.
Sync First Last sync_first_last string no   Set to ‘yes’ to synchronise the first and last x-values across all input curves before digitising, ensuring a shared domain; default is ‘no’.

Outputs

Label ID Type Description
curves_digitize_output_1 curves_digitize_output_1 vector Resampled output curves on a uniform x-axis grid, one output curve per input curve, carrying the same units as the originals.

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_digitize


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