.. _auto_curve_integrate_if_positive: *INTEGRATE POSITIVE VALUES* =========================== Integrates only the positive portions of a curve, treating negative values as zero before integration. Use this worker when you need the cumulative area contributed exclusively by positive signal values, such as positive velocity impulse or positive force-displacement work. When to use ----------- Classification: **process**. Tagged: ``clamp``, ``curve``, ``integrate``, ``integration``, ``positive``, ``signal``. 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 positive Y-values will be integrated; negative values are ignored. Leave optional if the curve is piped directly from an upstream worker. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curve_integrate_if_positive_output_1 - curve_integrate_if_positive_output_1 - vector - Output curve representing the cumulative integral computed solely from the positive Y-values of the input curve, with the same X-axis as the input. Disciplines ----------- - data.curve.transform - data.signal_processing Runnable example ---------------- A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: `/api/workflow/example?id=curve_integrate_if_positive `_ .. raw:: html

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