GET ENCLOSED AREA DIFFERENCE BETWEEN TWO CURVES¶
Computes the enclosed area difference between two XY curves by finding the region bounded between them. Use this worker when you need a scalar metric representing how much two curves diverge in area, e.g. for sim-vs-test correlation or hysteresis comparisons.
When to use¶
Classification: process.
Tagged: area_difference, correlation, curve_comparison, enclosed_area, integration.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve Representing Coordinates | firstcurvecoordinates | vector | — | First XY curve (vector of coordinate pairs) forming one boundary of the enclosed region; accepts multiple curves in batch mode. | |
| Curve Representing Coordinates | secondcurverepresentingcoordinates | vector | — | Second XY curve (vector of coordinate pairs) forming the other boundary of the enclosed region; must share the same axis domain as the first curve for a meaningful area difference. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_get_enclosed_area_diff_output_1 | curves_get_enclosed_area_diff_output_1 | scalar | Scalar value representing the total enclosed area difference between the two input curves (same area units as the product of the X- and Y-axis units, e.g. mm·kN for force-displacement curves). |
Disciplines¶
- data.correlation
- data.curve.pair
- data.statistics
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_get_enclosed_area_diff
Auto-generated from transformation schema. Worker id: curves_get_enclosed_area_diff. Schema hash: 268ec877641b. Hand-curated docs in workerexamples/ override this page when present.