COMPUTE THE CUMULATIVE SUM¶
Computes the cumulative sum of a curve’s Y-values, producing a new curve where each point represents the running total up to that position. Use this worker to integrate a time-history signal or accumulate discrete values along the X-axis.
When to use¶
Classification: process.
Tagged: cumsum, cumulative, curve, integration, running_total, transform.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve | curve | vector | — | Input curve (X/Y vector pair) whose Y-values will be cumulatively summed; typically a time-history or discrete signal — leave unconnected only if the cumulative output is not needed. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_cumulative_output_1 | curve_cumulative_output_1 | vector | Output curve with the same X-values as the input and Y-values replaced by the running cumulative sum of the input Y-values. |
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_cumulative
Auto-generated from transformation schema. Worker id: curve_cumulative. Schema hash: b93b532f80e7. Hand-curated docs in workerexamples/ override this page when present.