.. _auto_curve_negative_to_zero: *SET ALL NEGATIVE VALUES TO ZERO* ================================= Clamps all negative Y-values of an input curve to zero, leaving non-negative values unchanged. Use this worker to remove unphysical negative regions from a signal (e.g., force, stress, or energy curves) before further processing or plotting. When to use ----------- Classification: **process**. Tagged: ``clamp``, ``curve``, ``floor_zero``, ``negative_to_zero``, ``signal_cleanup``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curves - curve - vector - — - - Input curve (X-Y vector) whose negative Y-values will be replaced with zero; accepts a single curve and is optional — if omitted the worker returns an empty result. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curve_negative_to_zero_output_1 - curve_negative_to_zero_output_1 - vector - Transformed curve identical to the input but with all negative Y-values set to zero; X-values and positive Y-values are preserved exactly. 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_negative_to_zero `_ .. raw:: html

Auto-generated from transformation schema. Worker id: curve_negative_to_zero. Schema hash: 2bcd968a6418. Hand-curated docs in workerexamples/ override this page when present.