.. _auto_curve_drop_if_negative: *DROP NEGATIVE VALUES* ====================== Filters a curve by removing all data points where the Y-value is negative, returning only non-negative portions of the curve. Use this worker to clean up curves that should be physically non-negative (e.g., force, energy) before further processing. When to use ----------- Classification: **process**. Tagged: ``"``, ``a``, ``c``, ``d``, ``e``, ``f``, ``g``, ``i``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curve - curve - vector - — - - Input curve (X/Y vector pair) whose negative Y-values are to be removed; leave unconnected if no curve is available yet — the worker will return an empty result. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curve_drop_if_negative_output_1 - curve_drop_if_negative_output_1 - vector - Filtered curve containing only the data points from the input curve where the Y-value is greater than or equal to zero. 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_drop_if_negative `_ .. raw:: html

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