UPDATE CURVE SO IT DOES NOT INTERSECT WITH ITS DERIVATIVE¶
Iteratively scales up curve Y-values at points where the curve intersects its own derivative, until no intersections remain. Use this worker to enforce monotonic separation between a curve and its derivative — for example, when preparing material stress-strain data that must not cross its own slope curve.
When to use¶
Classification: process.
Tagged: curve, derivative, intersection, material-prep, monotonic, scale, stress-strain.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve To Be Scaled | curvetobeupdated | vector | — | The input curve (vector of X/Y pairs) to be checked and corrected for intersections with its derivative; this is the primary curve being modified. | |
| Factor to consider intersection | factor | scalar | 0.01 | Fractional tolerance used to detect an intersection: a point is flagged as intersecting if the curve Y-value lies within ±factor (e.g. 0.01 = 1 %) of the derivative Y-value at that X; default is 0.01. | |
| Scale Y-value if Intersection found | scale_sf | scalar | 1.05 | Multiplicative scale factor applied to the curve Y-value at each detected intersection point to push it away from the derivative (e.g. 1.05 scales up by 5 %); default is 1.05. | |
| Start after this value | start_x | scalar | 0.0 | X-axis threshold below which detected intersections are ignored; useful for skipping the initial region of the curve (e.g. elastic toe) where crossing is acceptable; default is 0.0. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| Intersection free Curve | curve_update_to_remove_intersections_with_derivative_output_1 | vector | The corrected curve (vector of X/Y pairs) with all detected intersections with its derivative resolved by Y-scaling; X-values are unchanged. |
Disciplines¶
- data.curve.transform
- engineering.material.characterization
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curve_update_to_remove_intersections_with_derivative
Auto-generated from transformation schema. Worker id: curve_update_to_remove_intersections_with_derivative. Schema hash: 7ff33a494c03. Hand-curated docs in workerexamples/ override this page when present.