.. _auto_curves_negative_to_zero: *SET ALL NEGATIVE VALUES TO ZERO* ================================= Clamps all negative Y-values in one or more curves to zero, leaving positive values unchanged. Use this worker to remove non-physical negative responses (e.g., force, energy) before downstream processing. When to use ----------- Classification: **process**. Tagged: ``clamp``, ``curve``, ``floor``, ``negative_to_zero``, ``transform``, ``zero``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curves - curves - vector - — - - One or more input curves whose negative Y-values will be set to zero; accepts a single curve or a batch of curves in vector format. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curves_negative_to_zero_output_1 - curves_negative_to_zero_output_1 - vector - Transformed curve(s) identical to the inputs except all negative Y-values have been replaced with zero; same format and X-axis as the input curves. 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=curves_negative_to_zero `_ .. raw:: html

Auto-generated from transformation schema. Worker id: curves_negative_to_zero. Schema hash: 626f267449be. Hand-curated docs in workerexamples/ override this page when present.