COMPUTE AVERAGE VALUE BETWEEN TWO X VALUES

Computes the arithmetic mean of the y-values of a curve between a specified x-minimum and x-maximum bound. Use this worker to extract a scalar average response (e.g., mean force, mean acceleration) over a defined x-interval from any 2-D curve.

When to use

Classification: process.

Tagged: average, curve, interval, mean, scalar, transform, x_range.

Inputs

Label ID Type Default Required Description
Curve curve vector The input 2-D curve (x/y vector pair) over which the average will be computed; must be provided — no default is applied.
X Min x_min float 0.0   Lower x-bound of the averaging window; data points with x < x_min are excluded. Defaults to 0.0 — set explicitly to avoid unintended truncation.
X Max x_max float 0.0   Upper x-bound of the averaging window; data points with x > x_max are excluded. Defaults to 0.0 — set explicitly to the desired end of the interval.

Outputs

Label ID Type Description
curve_average_between_output_1 curve_average_between_output_1 scalar Scalar arithmetic mean of the curve’s y-values within the [x_min, x_max] interval; same units as the input curve’s y-axis.

Disciplines

  • data.curve.transform
  • data.statistics

Runnable example

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


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