SCALE AFTER FIRST PEAK¶
Detects the first peak in a curve and applies independent X and Y scale factors to all data points after that peak, leaving the pre-peak portion unchanged. Use this worker to rescale the post-peak (softening/unloading) region of a curve—for example, a stress-strain or force-displacement response—without distorting the initial rise. An optional monotonicity enforcement can prevent the scaled tail from reversing direction.
When to use¶
Classification: process.
Tagged: curve, force-displacement, monotonicity, peak, post-peak, scale, stress-strain, transform.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve To Be Scaled | curvetobescaled | vector | — | Input XY curve (e.g., force-displacement or stress-strain) whose data points after the first peak will be scaled; leave unconnected only if the curve is supplied upstream via context. | |
| Scale X Value | scale_x | scalar | 0.5 | Multiplicative scale factor applied to the X-axis values after the first peak; default is 0.5 (halves the post-peak X span). | |
| Scale Y Value | scale_y | scalar | 2 | Multiplicative scale factor applied to the Y-axis values after the first peak; default is 2 (doubles the post-peak Y values). | |
| Enforce Monotonicity | enforce_monotonicity | scalar | no | When set to ‘yes’, forces the scaled post-peak segment to remain monotonically non-increasing so the output curve never reverses direction; default is ‘no’. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_scale_after_first_peak_output_1 | curve_scale_after_first_peak_output_1 | vector | Transformed XY curve with the original pre-peak segment intact and independent X/Y scaling applied to all points beyond the first peak. |
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_scale_after_first_peak
Auto-generated from transformation schema. Worker id: curve_scale_after_first_peak. Schema hash: e18fb3094495. Hand-curated docs in workerexamples/ override this page when present.