NORMALIZE AND SCALE X VALUES

Normalizes and scales the X-axis values of a curve by multiplying each X value by a user-supplied scale factor. Use this worker to compress or expand the time/frequency axis of a curve before further processing or comparison.

When to use

Classification: process.

Tagged: compress, curve, normalize, scale, transform, x-axis.

Inputs

Label ID Type Default Required Description
Curve To Be Normalized curvetobenormalized vector   Input curve (X/Y vector) whose X values will be scaled; accepts any d3VIEW curve object — leave unconnected only if the worker is used in a passthrough chain.
Scale X scalex scalar 1.0   Multiplicative scale factor applied to every X value of the curve (dimensionless); default 1.0 leaves X values unchanged — set to values <1 to compress or >1 to expand the X axis.

Outputs

Label ID Type Description
curve_compress_x_output_1 curve_compress_x_output_1 vector Output curve identical in structure to the input but with all X values multiplied by the scale factor; Y values are preserved unchanged.

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_compress_x


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