COMPUTE THE INTEGRATE OF THE CURVE¶
Computes the numerical integral of an input curve using the trapezoidal rule. Optionally ignores positive or negative values before integrating, enabling one-sided area calculations. Use this worker wherever a cumulative integral (e.g., velocity from acceleration, displacement from velocity) is needed on a time-history or XY curve.
When to use¶
Classification: process.
Tagged: area_under_curve, curve, integrate, numerical_integration, signal_processing, time_history, trapezoidal.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve In | curve_in | vector | — | Input XY curve (vector) to be integrated; typically a time-history such as acceleration or velocity — must be provided before execution. | |
| Ignore | ignore | list | none | Selects which signed values to zero out before integration: ‘none’ integrates all values (default), ‘positive’ ignores positive values, ‘negative’ ignores negative values — leave as ‘none’ for a full unsigned integral. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_integrate_output_1 | curve_integrate_output_1 | vector | Resulting integrated curve (vector) with the same X-axis as the input and Y-axis representing the cumulative integral (e.g., mm/s if input was mm/s²). |
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=curve_integrate
Auto-generated from transformation schema. Worker id: curve_integrate. Schema hash: e3c8ae5ee67d. Hand-curated docs in workerexamples/ override this page when present.