CURVE DOWNSIZE

Reduces the number of points in one or more curves using a band-size tolerance algorithm, iteratively removing points whose deviation falls within the specified band. Use this worker to compress large time-history or signal curves while preserving their essential shape.

When to use

Classification: process.

Tagged: band_size, curve_compression, downsample, downsize, point_reduction, time_history.

Inputs

Label ID Type Default Required Description
Curves curves vector   One or more input curves (time-history or XY pairs) to be down-sampled; accepts multiple curve objects in vector format.
Band Size band_size scalar 0.005   Tolerance band controlling how aggressively points are removed — smaller values (e.g. default 0.005) retain more points; increase to reduce the output point count further.
Num Iterations num_iterations scalar 1   Number of downsizing passes to apply; default is 1 — increase for more aggressive reduction at the cost of shape fidelity.
Window Sizer window_size scalar 0   Time interval (when window_type=’value’) or point count (when window_type=’length’) over which the derivative range is computed; default 0 disables windowing.
Window Type window_type scalar value   Determines how window_size is interpreted: ‘value’ treats it as a physical time/x-axis interval, ‘length’ treats it as a fixed number of points; default is ‘value’.

Outputs

Label ID Type Description
curves_downsize_output_1 curves_downsize_output_1 vector Down-sampled version of the input curve(s) in vector format, with redundant interior points removed according to the band-size tolerance and iteration settings.

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_downsize


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