.. _auto_curves_compute_elastic_recovery: *SORT THE CURVES BASED ON THE TYPE AND ORDER * ============================================== Computes elastic recovery metrics for a set of stress-strain or load-displacement curves and returns them sorted by a chosen metric (absolute difference or percentage difference) in ascending or descending order, optionally limited to the top N results. Use this worker to rank curves by their elastic recovery performance in a material characterization or manufacturing springback workflow. When to use ----------- Classification: **process**. Tagged: ``curve_sorting``, ``elastic_recovery``, ``material_characterization``, ``ranking``, ``springback``, ``stress_strain``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curves To Be Sorted - curvestobesorted - vector - — - - Collection of curves (e.g. stress-strain or load-displacement) on which elastic recovery will be computed; accepts multiple curve objects — leave empty only if curves are supplied upstream in the workflow. * - Sort By - sort_by - string - asc - - Metric used to rank the curves after elastic recovery is computed: 'diff' ranks by absolute difference between loading and unloading endpoints, 'diff_percentage' ranks by the relative (percentage) difference; defaults to 'asc' (treated as 'diff'). * - Sort Order - sort_order - string - asc - - Direction of the ranking: 'asc' returns curves from lowest to highest elastic recovery value, 'desc' returns highest to lowest; defaults to ascending order. * - Sort Limit - sort_limit - scalar - 5 - - Maximum number of curves to return after sorting; integer, defaults to 5 — increase if more ranked results are needed downstream. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curves_compute_elastic_recovery_output_1 - curves_compute_elastic_recovery_output_1 - dataset - Dataset containing the top-N curves ranked by the selected elastic recovery metric, including computed diff or diff-percentage values as additional columns for each curve. Disciplines ----------- - data.curve.pair - engineering.manufacturing - 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=curves_compute_elastic_recovery `_ .. raw:: html

Auto-generated from transformation schema. Worker id: curves_compute_elastic_recovery. Schema hash: 64b52d23e441. Hand-curated docs in workerexamples/ override this page when present.